moriyoshi Mon Mar 31 17:54:18 2003 EDT
Modified files:
/php4/ext/standard/tests/serialize 001.phpt
Log:
Fixed test; in ZE2, all the properties used in any methods are populated
at compile time.
Index: php4/ext/standard/tests/serialize/001.phpt
diff -u php4/ext/standard/tests/serialize/001.phpt:1.2
php4/ext/standard/tests/serialize/001.phpt:1.3
--- php4/ext/standard/tests/serialize/001.phpt:1.2 Mon Aug 20 10:15:05 2001
+++ php4/ext/standard/tests/serialize/001.phpt Mon Mar 31 17:54:18 2003
@@ -70,7 +70,7 @@
$a = unserialize($data);
var_dump($a);
?>
---EXPECT--
+--EXPECTF--
N;
b:1;
b:0;
@@ -87,16 +87,18 @@
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"
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php