com php-src: refixed the test related to bug #67072: Zend/tests/generators/errors/serialize_unserialize_error. phpt

From: Date: Fri, 18 Apr 2014 13:16:09 +0000
Subject: com php-src: refixed the test related to bug #67072: Zend/tests/generators/errors/serialize_unserialize_error. phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-76941@lists.php.net to get a copy of this message
Commit: d963cf94a545f9b09d8e5bdf84ae48b5b5ead842 Author: Anatol Belski <ab@php.net> Fri, 18 Apr 2014 15:16:09 +0200 Parents: 7c400dc867a1a5d531cc0e9a9968291b2710613e Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d963cf94a545f9b09d8e5bdf84ae48b5b5ead842 Log: refixed the test related to bug #67072 Bugs: https://bugs.php.net/67072 Changed paths: M Zend/tests/generators/errors/serialize_unserialize_error.phpt Diff: diff --git a/Zend/tests/generators/errors/serialize_unserialize_error.phpt b/Zend/tests/generators/errors/serialize_unserialize_error.phpt index d06d4be..b5e77e5 100644 --- a/Zend/tests/generators/errors/serialize_unserialize_error.phpt +++ b/Zend/tests/generators/errors/serialize_unserialize_error.phpt @@ -32,11 +32,11 @@ Stack trace: #0 %s(%d): serialize(Object(Generator)) #1 {main} -exception 'Exception' with message 'Unserialization of 'Generator' is not allowed' in %s:%d -Stack trace: -#0 %s(%d): unserialize('O:9:"Generator"...') -#1 {main} +Warning: Erroneous data format for unserializing 'Generator' in %sserialize_unserialize_error.php on line %d + +Notice: unserialize(): Error at offset 19 of 20 bytes in %sserialize_unserialize_error.php on line %s +bool(false) exception 'Exception' with message 'Unserialization of 'Generator' is not allowed' in %s:%d Stack trace: #0 %s(%d): unserialize('C:9:"Generator"...')

« previous php.cvs (#76941) next »