]> granicus.if.org Git - php/commitdiff
there is no %v in 5.2
authorAntony Dovgal <tony2001@php.net>
Thu, 18 May 2006 21:24:04 +0000 (21:24 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 18 May 2006 21:24:04 +0000 (21:24 +0000)
Zend/zend_exceptions.c
Zend/zend_interfaces.c

index aca3ea9310cd9950542fc3f65871f6654070211d..0d40e01eae0dd1da6dcb6b8e9004bd46d24a4c11 100644 (file)
@@ -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);
index 74441b3e109c84ec400f368a267e53f8987d3c51..a6a937c90c8ce4ab48b890e8d01db08b198d8478 100755 (executable)
@@ -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;
 }