com php-src: Fix argument, cur_method_ref->class_name is a zend_string: Zend/zend_compile.c

From: Date: Tue, 06 May 2014 04:45:33 +0000
Subject: com php-src: Fix argument, cur_method_ref->class_name is a zend_string: Zend/zend_compile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78113@lists.php.net to get a copy of this message
Commit: 0ebf0c02a044fb6a2d2551b397812fcb5be7fd0a Author: Hannes Magnusson <bjori@mongodb.com> Mon, 5 May 2014 21:45:33 -0700 Parents: 1fa4dcac87c9d5eb887534085b985250a9c1c807 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0ebf0c02a044fb6a2d2551b397812fcb5be7fd0a Log: Fix argument, cur_method_ref->class_name is a zend_string Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 65cbbc9..de62e9c 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -4240,7 +4240,7 @@ static void zend_traits_init_trait_structures(zend_class_entry *ce TSRMLS_DC) /* cur_method_ref = cur_precedence->trait_method; if (!(cur_precedence->trait_method->ce = zend_fetch_class(cur_method_ref->class_name, ZEND_FETCH_CLASS_TRAIT|ZEND_FETCH_CLASS_NO_AUTOLOAD TSRMLS_CC))) { - zend_error_noreturn(E_COMPILE_ERROR, "Could not find trait %s", cur_method_ref->class_name); + zend_error_noreturn(E_COMPILE_ERROR, "Could not find trait %s", cur_method_ref->class_name->val); } zend_check_trait_usage(ce, cur_precedence->trait_method->ce TSRMLS_CC);

« previous php.cvs (#78113) next »