From: Anatol Belski Date: Wed, 17 Aug 2016 10:39:35 +0000 (+0200) Subject: fix tests X-Git-Tag: php-7.1.0beta3~28^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05c8a0771ddf97ef33fa9bdcfbca29625abb3042;p=php fix tests The 70436 test is just a bonus for the hardening in 72633. --- diff --git a/ext/standard/tests/strings/bug70436.phpt b/ext/standard/tests/strings/bug70436.phpt index c62e468726..1273ee30c6 100644 --- a/ext/standard/tests/strings/bug70436.phpt +++ b/ext/standard/tests/strings/bug70436.phpt @@ -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 diff --git a/ext/standard/tests/strings/bug72663.phpt b/ext/standard/tests/strings/bug72663.phpt index e61f939d4d..ec16e069ff 100644 --- a/ext/standard/tests/strings/bug72663.phpt +++ b/ext/standard/tests/strings/bug72663.phpt @@ -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