]> granicus.if.org Git - php/commitdiff
Fixed test; in ZE2, all the properties used in any methods are populated
authorMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 31 Mar 2003 22:54:18 +0000 (22:54 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 31 Mar 2003 22:54:18 +0000 (22:54 +0000)
at compile time.

ext/standard/tests/serialize/001.phpt

index ab8ac99c53041d724b923325d4b929120835a972..bfe541337d1724ebfba8d6cfc03efc45152504e5 100644 (file)
@@ -70,7 +70,7 @@ echo "$data\n";
 $a = unserialize($data);
 var_dump($a);
 ?>
---EXPECT--
+--EXPECTF--
 N;
 b:1;
 b:0;
@@ -87,16 +87,18 @@ d:-1.123456789;
 s:5:"hallo";
 a:6:{i:0;i:1;i:1;d:1.1;i:2;s:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}}
 O:1:"t":1:{s:1:"a";s:5:"hallo";}
-object(t)(1) {
+object(t)#%d (1) {
   ["a"]=>
   string(5) "hallo"
 }
 __sleep called
 O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";}
 __wakeup called
-object(s)(2) {
+object(s)#%d (2) {
   ["a"]=>
   string(5) "hallo"
+  ["b"]=>
+  NULL
   ["c"]=>
   string(5) "world"
 }