]> granicus.if.org Git - php/commitdiff
Fixed zend_string
authorXinchen Hui <laruence@gmail.com>
Sun, 2 Mar 2014 13:42:21 +0000 (21:42 +0800)
committerXinchen Hui <laruence@gmail.com>
Sun, 2 Mar 2014 13:42:21 +0000 (21:42 +0800)
ext/reflection/php_reflection.c

index f1db730c8a1be4953b20cb260ceb92818638d584..8111de92f7052266e47062a530992c583aec7e97 100644 (file)
@@ -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);