com php-src: Merge branch 'PHP-5.5' into PHP-5.6: Zend/zend_c ompile.c

From: Date: Tue, 21 Apr 2015 14:44:45 +0000
Subject: com php-src: Merge branch 'PHP-5.5' into PHP-5.6: Zend/zend_c ompile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86417@lists.php.net to get a copy of this message
Commit: 29c449ce98147610f964c8d3681faaf979748fc0 Author: Xinchen Hui <laruence@php.net> Tue, 21 Apr 2015 22:44:45 +0800 Parents: ceb992501be4cc18c22f652a23c28cea683afe00 a50869387413c884b079fd5773c680965fb1b23a Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=29c449ce98147610f964c8d3681faaf979748fc0 Log: Merge branch 'PHP-5.5' into PHP-5.6 Changed paths: MM Zend/zend_compile.c Diff: diff --cc Zend/zend_compile.c index 82cfb33,4e073fe..0f343e7 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@@ -4059,10 -3920,10 +4059,10 @@@ static void zend_add_trait_method(zend_ zend_get_function_declaration(fn TSRMLS_CC), zend_get_function_declaration(existing_fn TSRMLS_CC)); } - } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { + } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { /* Make sure the abstract declaration is compatible with previous declaration */ if (!zend_traits_method_compatibility_check(existing_fn, fn TSRMLS_CC)) { - zend_error(E_COMPILE_ERROR, "Declaration of %s must be compatible with %s", + zend_error_noreturn(E_COMPILE_ERROR, "Declaration of %s must be compatible with %s", zend_get_function_declaration(fn TSRMLS_CC), zend_get_function_declaration(existing_fn TSRMLS_CC)); }

« previous php.cvs (#86417) next »