com php-src: Fixed zend_string: ext/reflection/php_refl ection.c
| From: | Dmitry Stogov | Date: | Sun, 02 Mar 2014 13:42:21 +0000 |
| Subject: | com php-src: Fixed zend_string: ext/reflection/php_refl ection.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77824@lists.php.net to get a copy of this message | ||
Commit: 35742a74e230a3ccee2badc43de7ee5a348fe9cb
Author: Xinchen Hui <laruence@gmail.com> Sun, 2 Mar 2014 21:42:21 +0800
Parents: 4eeee08ec8d82cf2cfb39a43ee764b4632a0a074
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=35742a74e230a3ccee2badc43de7ee5a348fe9cb
Log:
Fixed zend_string
Changed paths:
M ext/reflection/php_reflection.c
Diff:
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index f1db730..8111de9 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -3462,7 +3462,7 @@ ZEND_METHOD(reflection_class, setStaticPropertyValue)
variable_ptr = zend_std_get_static_property(ce, name, 1, NULL TSRMLS_CC);
if (!variable_ptr) {
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
- "Class %s does not have a property named %s", ce->name->val, name);
+ "Class %s does not have a property named %s", ce->name->val, name->val);
return;
}
//??? refcount = Z_REFCOUNT_PP(variable_ptr);