diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-03-31 22:54:18 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-03-31 22:54:18 +0000 |
commit | e8f13586a7fb3a7cd0ca1e6daf77aa776b4a4798 (patch) | |
tree | a93a7452b697ebee48765938d01cbf4d15e54526 /ext | |
parent | 62909237c46dd2af681c71c026890eb52da68331 (diff) | |
download | php-git-e8f13586a7fb3a7cd0ca1e6daf77aa776b4a4798.tar.gz |
Fixed test; in ZE2, all the properties used in any methods are populated
at compile time.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/tests/serialize/001.phpt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/standard/tests/serialize/001.phpt b/ext/standard/tests/serialize/001.phpt index ab8ac99c53..bfe541337d 100644 --- a/ext/standard/tests/serialize/001.phpt +++ b/ext/standard/tests/serialize/001.phpt @@ -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" } |