summaryrefslogtreecommitdiff
path: root/Zend/zend_reflection_api.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-09-19 07:23:47 +0000
committerDmitry Stogov <dmitry@php.net>2005-09-19 07:23:47 +0000
commit4d8290d000debe993cf1ab907e4c2ffaba9a8ff6 (patch)
treee34581357baa4bbc3228b7b6f8b799d81e915a8c /Zend/zend_reflection_api.c
parent9fc1de018109472175364261b0a7e703c62a400f (diff)
downloadphp-git-4d8290d000debe993cf1ab907e4c2ffaba9a8ff6.tar.gz
Unicode support
Diffstat (limited to 'Zend/zend_reflection_api.c')
-rw-r--r--Zend/zend_reflection_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c
index dec1f9d7d6..2bc0341b35 100644
--- a/Zend/zend_reflection_api.c
+++ b/Zend/zend_reflection_api.c
@@ -43,8 +43,8 @@ zend_class_entry *reflection_extension_ptr;
/* Method macros */
#define METHOD_NOTSTATIC(ce) \
- if (!this_ptr || !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { \
- zend_error(E_ERROR, "%s() cannot be called statically", get_active_function_name(TSRMLS_C)); \
+ if (!this_ptr || !instanceof_function(Z_OBJCE_P(this_ptr), U_CLASS_ENTRY(ce) TSRMLS_CC)) { \
+ zend_error(E_ERROR, "%v() cannot be called statically", get_active_function_name(TSRMLS_C)); \
return; \
} \