svn: /php/php-src/trunk/Zend/ zend_interfaces.c

From: Date: Wed, 29 Jul 2009 14:27:43 +0000
Subject: svn: /php/php-src/trunk/Zend/ zend_interfaces.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-59899@lists.php.net to get a copy of this message
felipe Wed, 29 Jul 2009 14:27:43 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=286510 Log: - Fixed expected data type for class name (%s -> %v) Changed paths: U php/php-src/trunk/Zend/zend_interfaces.c Modified: php/php-src/trunk/Zend/zend_interfaces.c =================================================================== --- php/php-src/trunk/Zend/zend_interfaces.c 2009-07-29 13:51:52 UTC (rev 286509) +++ php/php-src/trunk/Zend/zend_interfaces.c 2009-07-29 14:27:43 UTC (rev 286510) @@ -483,13 +483,13 @@ ZEND_API int zend_class_serialize_deny(zval *object, int *type, zstr *buffer, zend_uint *buf_len, zend_serialize_data *data TSRMLS_DC) /* {{{ */ { zend_class_entry *ce = Z_OBJCE_P(object); - zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Serialization of '%s' is not allowed", ce->name); + zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Serialization of '%v' is not allowed", ce->name); return FAILURE; } /* }}} */ ZEND_API int zend_class_unserialize_deny(zval **object, zend_class_entry *ce, int type, const zstr buf, zend_uint buf_len, zend_unserialize_data *data TSRMLS_DC) /* {{{ */ { - zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Unserialization of '%s' is not allowed", ce->name); + zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Unserialization of '%v' is not allowed", ce->name); return FAILURE; } /* }}} */

« previous php.cvs (#59899) next »