diff options
author | Antony Dovgal <tony2001@php.net> | 2006-05-18 21:24:04 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-05-18 21:24:04 +0000 |
commit | 80d7ac0e9e5283a755ff555ecbd1bec6fb06d45f (patch) | |
tree | 0136651ed26f7bff9d05e06a500da5c408ea62a3 | |
parent | 749f4ac2ab56290317f0020010e2e558196bde10 (diff) | |
download | php-git-80d7ac0e9e5283a755ff555ecbd1bec6fb06d45f.tar.gz |
there is no %v in 5.2
-rw-r--r-- | Zend/zend_exceptions.c | 2 | ||||
-rwxr-xr-x | Zend/zend_interfaces.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index aca3ea9310..0d40e01eae 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -686,7 +686,7 @@ ZEND_API void zend_exception_error(zval *exception TSRMLS_DC) file = NULL; line = NULL; } - zend_error_va(E_WARNING, file ? Z_STRVAL_P(file) : NULL, line ? Z_LVAL_P(line) : 0, "Uncaught %v in exception handling during call to %v::__tostring()", Z_OBJCE_P(EG(exception))->name, ce_exception->name); + zend_error_va(E_WARNING, file ? Z_STRVAL_P(file) : NULL, line ? Z_LVAL_P(line) : 0, "Uncaught %s in exception handling during call to %s::__tostring()", Z_OBJCE_P(EG(exception))->name, ce_exception->name); } str = zend_read_property(default_exception_ce, exception, "string", sizeof("string")-1, 1 TSRMLS_CC); diff --git a/Zend/zend_interfaces.c b/Zend/zend_interfaces.c index 74441b3e10..a6a937c90c 100755 --- a/Zend/zend_interfaces.c +++ b/Zend/zend_interfaces.c @@ -432,7 +432,7 @@ int zend_user_serialize(zval *object, unsigned char **buffer, zend_uint *buf_len } if (result == FAILURE) { - zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "%v::serialize() must return a string or NULL", ce->name); + zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "%s::serialize() must return a string or NULL", ce->name); } return result; } |