]> granicus.if.org Git - php/commitdiff
Unicode support
authorDmitry Stogov <dmitry@php.net>
Wed, 27 Jun 2007 11:16:21 +0000 (11:16 +0000)
committerDmitry Stogov <dmitry@php.net>
Wed, 27 Jun 2007 11:16:21 +0000 (11:16 +0000)
Zend/zend_execute_API.c

index 5e53e39d628008360c8f68ee60779dd7783f9573..4b76e9beba6f97084437abc99a61a7b1c2b7da83 100644 (file)
@@ -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;