]> granicus.if.org Git - php/commitdiff
fix tests
authorAnatol Belski <ab@php.net>
Wed, 17 Aug 2016 10:39:35 +0000 (12:39 +0200)
committerAnatol Belski <ab@php.net>
Wed, 17 Aug 2016 10:39:35 +0000 (12:39 +0200)
The 70436 test is just a bonus for the hardening in 72633.

ext/standard/tests/strings/bug70436.phpt
ext/standard/tests/strings/bug72663.phpt

index c62e4687263c0f55931f9b8e573fa0bb2c260064..1273ee30c6bd410783da7de4cbc4a3ac98be2067 100644 (file)
@@ -49,17 +49,7 @@ DONE
 Notice: unserialize(): Error at offset 0 of 3 bytes in %sbug70436.php on line %d
 
 Notice: unserialize(): Error at offset 17 of 17 bytes in %sbug70436.php on line %d
-array(4) {
-  [0]=>
-  int(1)
-  [1]=>
-  object(obj)#%d (1) {
-    ["data"]=>
-    bool(false)
-  }
-  [2]=>
-  string(24) "%s"
-  [3]=>
-  bool(false)
-}
-DONE
\ No newline at end of file
+
+Notice: unserialize(): Error at offset 93 of 94 bytes in %sbug70436.php on line %d
+bool(false)
+DONE
index e61f939d4dbef881c33b8eb6bfb809a70c479f16..ec16e069ff50b940d060ef2bb74b2b329381aeae 100644 (file)
@@ -23,4 +23,6 @@ DONE
 Notice: unserialize(): Unexpected end of serialized data in %sbug72663.php on line %d
 
 Notice: unserialize(): Error at offset 46 of 47 bytes in %sbug72663.php on line %d
-DONE
\ No newline at end of file
+
+Notice: unserialize(): Error at offset 79 of 80 bytes in %sbug72663.php on line %d
+DONE