]> granicus.if.org Git - php/commitdiff
refixed the test related to bug #67072
authorAnatol Belski <ab@php.net>
Fri, 18 Apr 2014 13:16:09 +0000 (15:16 +0200)
committerAnatol Belski <ab@php.net>
Fri, 18 Apr 2014 13:16:09 +0000 (15:16 +0200)
Zend/tests/generators/errors/serialize_unserialize_error.phpt

index d06d4be4f1afa6e12d5b22542ffe968fa9d142f1..b5e77e50284a1d5017ba8893f1f521098dc6d96e 100644 (file)
@@ -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"...')