From: Dmitry Stogov Date: Wed, 27 Jun 2007 11:16:21 +0000 (+0000) Subject: Unicode support X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~373 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8036bf48963f6f03122350ad8500fe3411058df;p=php Unicode support --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 5e53e39d62..4b76e9beba 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -481,7 +481,7 @@ ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *sco zstr colon; if (IS_CONSTANT_VISITED(p)) { - zend_error(E_ERROR, "Cannot declare self-referencing constant '%s'", Z_STRVAL_P(p)); + zend_error(E_ERROR, "Cannot declare self-referencing constant '%v'", Z_UNIVAL_P(p)); } else if (Z_TYPE_P(p) == IS_CONSTANT) { int refcount; zend_uchar is_ref;