summaryrefslogtreecommitdiff
path: root/ext/standard/tests
diff options
context:
space:
mode:
authorSteph Fox <sfox@php.net>2008-05-27 07:46:51 +0000
committerSteph Fox <sfox@php.net>2008-05-27 07:46:51 +0000
commit4ccb8869e7c106a3c03f65b406e2916a09313d71 (patch)
tree367b08a6fb7f665890bec454e79c121a59384c92 /ext/standard/tests
parent08253045d4bac24bfca39e319a23bab1ec6034a9 (diff)
downloadphp-git-4ccb8869e7c106a3c03f65b406e2916a09313d71.tar.gz
- killed off UEXPECT
Diffstat (limited to 'ext/standard/tests')
-rw-r--r--ext/standard/tests/serialize/001.phpt45
-rw-r--r--ext/standard/tests/serialize/002.phpt29
-rwxr-xr-xext/standard/tests/serialize/005.phpt52
-rw-r--r--ext/standard/tests/serialize/006.phpt11
-rw-r--r--ext/standard/tests/serialize/bug14293.phpt11
-rw-r--r--ext/standard/tests/serialize/bug21957.phpt19
-rwxr-xr-xext/standard/tests/serialize/bug26762.phpt2
-rw-r--r--ext/standard/tests/serialize/bug27469.phpt15
-rw-r--r--ext/standard/tests/serialize/bug28325.phpt20
-rw-r--r--ext/standard/tests/serialize/bug31402.phpt52
-rw-r--r--ext/standard/tests/serialize/serialization_arrays_001.phpt73
-rw-r--r--ext/standard/tests/serialize/serialization_arrays_002.phpt446
-rw-r--r--ext/standard/tests/serialize/serialization_arrays_003.phpt226
-rw-r--r--ext/standard/tests/serialize/serialization_arrays_004.phpt416
-rw-r--r--ext/standard/tests/serialize/serialization_arrays_005.phpt493
-rw-r--r--ext/standard/tests/serialize/serialization_error_001.phpt2
-rw-r--r--ext/standard/tests/serialize/serialization_miscTypes_001.phptbin13329 -> 7757 bytes
-rw-r--r--ext/standard/tests/serialize/serialization_objects_001.phptbin3680 -> 2423 bytes
-rw-r--r--ext/standard/tests/serialize/serialization_objects_002.phptbin12462 -> 7306 bytes
-rw-r--r--ext/standard/tests/serialize/serialization_objects_003.phpt17
-rw-r--r--ext/standard/tests/serialize/serialization_objects_004.phpt12
-rw-r--r--ext/standard/tests/serialize/serialization_objects_005.phpt57
-rw-r--r--ext/standard/tests/serialize/serialization_objects_006.phpt2
-rw-r--r--ext/standard/tests/serialize/serialization_objects_007.phpt13
-rw-r--r--ext/standard/tests/serialize/serialization_objects_008.phpt10
-rw-r--r--ext/standard/tests/serialize/serialization_objects_009.phpt2
-rw-r--r--ext/standard/tests/serialize/serialization_objects_010.phpt2
-rw-r--r--ext/standard/tests/serialize/serialization_objects_011.phpt120
-rw-r--r--ext/standard/tests/serialize/serialization_objects_012.phpt161
-rw-r--r--ext/standard/tests/serialize/serialization_objects_013.phpt398
-rw-r--r--ext/standard/tests/serialize/serialization_objects_014.phpt222
-rw-r--r--ext/standard/tests/serialize/serialization_objects_015.phpt462
-rw-r--r--ext/standard/tests/serialize/serialization_precision_001.phpt4
-rw-r--r--ext/standard/tests/serialize/serialization_precision_002.phpt4
-rw-r--r--ext/standard/tests/serialize/serialization_resources_001.phpt8
-rw-r--r--ext/standard/tests/streams/bug44712.phpt1
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt41
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt23
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt529
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt101
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt48
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt49
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt22
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt19
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt83
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt82
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt63
-rw-r--r--ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt62
48 files changed, 26 insertions, 4503 deletions
diff --git a/ext/standard/tests/serialize/001.phpt b/ext/standard/tests/serialize/001.phpt
index 66090c2822..e9b0cc0f53 100644
--- a/ext/standard/tests/serialize/001.phpt
+++ b/ext/standard/tests/serialize/001.phpt
@@ -87,51 +87,6 @@ d:1;
d:0;
d:-1;
d:-1.123456789000000011213842299184761941432952880859375;
-S:5:"hallo";
-a:6:{i:0;i:1;i:1;d:1.100000000000000088817841970012523233890533447265625;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)#%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)#%d (3) {
- ["a"]=>
- string(5) "hallo"
- ["b"]=>
- NULL
- ["c"]=>
- string(5) "world"
-}
-array(2) {
- ["a"]=>
- &string(4) "test"
- ["b"]=>
- &string(4) "test"
-}
-a:2:{S:1:"a";S:4:"test";S:1:"b";R:2;}
-array(2) {
- ["a"]=>
- &string(4) "test"
- ["b"]=>
- &string(4) "test"
-}
---UEXPECTF--
-N;
-b:1;
-b:0;
-i:1;
-i:0;
-i:-1;
-i:2147483647;
-i:-2147483647;
-d:1.123456789000000011213842299184761941432952880859375;
-d:1;
-d:0;
-d:-1;
-d:-1.123456789000000011213842299184761941432952880859375;
U:5:"hallo";
a:6:{i:0;i:1;i:1;d:1.100000000000000088817841970012523233890533447265625;i:2;U:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}}
O:1:"t":1:{U:1:"a";U:5:"hallo";}
diff --git a/ext/standard/tests/serialize/002.phpt b/ext/standard/tests/serialize/002.phpt
index 87aed39fd4..3085d1cf4f 100644
--- a/ext/standard/tests/serialize/002.phpt
+++ b/ext/standard/tests/serialize/002.phpt
@@ -42,32 +42,3 @@ array(3) {
object(stdClass)#%d (0) {
}
===DONE===
---UEXPECTF--
-bool(false)
-bool(true)
-int(823)
-string(0) ""
-string(3) "foo"
-array(1) {
- [0]=>
- string(2) "12"
-}
-array(2) {
- [0]=>
- array(0) {
- }
- [1]=>
- array(0) {
- }
-}
-array(3) {
- [0]=>
- string(3) "foo"
- [1]=>
- string(3) "bar"
- [2]=>
- string(3) "baz"
-}
-object(stdClass)#%d (0) {
-}
-===DONE===
diff --git a/ext/standard/tests/serialize/005.phpt b/ext/standard/tests/serialize/005.phpt
index f2201b2dbf..473d80b5f2 100755
--- a/ext/standard/tests/serialize/005.phpt
+++ b/ext/standard/tests/serialize/005.phpt
@@ -135,58 +135,6 @@ var_dump(unserialize('O:22:"autoload_not_available":0:{}'));
--EXPECTF--
===O1===
TestOld::__sleep()
-string(18) "O:7:"TestOld":0:{}"
-TestOld::__wakeup()
-object(TestOld)#%d (0) {
-}
-===N1===
-TestNew::serialize()
-string(2) "N;"
-NULL
-===N2===
-TestNew::serialize()
-string(19) "C:7:"TestNew":1:{2}"
-TestNew::unserialize()
-object(TestNew)#%d (0) {
-}
-===NAOld===
-unserializer(TestNAOld)
-TestOld::__wakeup()
-object(TestNAOld)#%d (0) {
-}
-===NANew===
-unserializer(TestNANew)
-TestNew::__wakeup()
-object(TestNANew)#%d (0) {
-}
-===NANew2===
-unserializer(TestNANew2)
-TestNew::unserialize()
-object(TestNANew2)#%d (0) {
-}
-===AutoOld===
-unserializer(autoload_implements)
-Try __autoload()
-do_autoload(autoload_interface)
-do_autoload(autoload_implements)
-object(autoload_implements)#%d (0) {
-}
-===AutoNA===
-do_autoload(autoload_not_available)
-unserializer(autoload_not_available)
-Try __autoload()
-do_autoload(autoload_not_available)
-do_autoload(autoload_not_available)
-
-Warning: unserialize(): Function unserializer() hasn't defined the class it was called for in %s005.php on line %d
-object(__PHP_Incomplete_Class)#%d (1) {
- ["__PHP_Incomplete_Class_Name"]=>
- string(22) "autoload_not_available"
-}
-===DONE===
---UEXPECTF--
-===O1===
-TestOld::__sleep()
unicode(18) "O:7:"TestOld":0:{}"
TestOld::__wakeup()
object(TestOld)#%d (0) {
diff --git a/ext/standard/tests/serialize/006.phpt b/ext/standard/tests/serialize/006.phpt
index e02784e9c2..211d124427 100644
--- a/ext/standard/tests/serialize/006.phpt
+++ b/ext/standard/tests/serialize/006.phpt
@@ -20,17 +20,6 @@ unicode.output_encoding=ISO-8859-1
var_dump(unserialize(serialize($åäöÅÄÖ)));
?>
--EXPECT--
-string(83) "O:11:"ÜberKööliäå":1:{S:11:"\e5\e4\f6\c5\c4\d6\fc\dcber";S:6:"\e5\e4\f6\c5\c4\d6";}"
-object(ÜberKööliäå)#2 (1) {
- ["åäöÅÄÖüÜber"]=>
- string(6) "åäöÅÄÖ"
-}
-string(56) "a:1:{S:6:"\e5\e4\f6\c5\c4\d6";S:6:"\e5\e4\f6\c5\c4\d6";}"
-array(1) {
- ["åäöÅÄÖ"]=>
- string(6) "åäöÅÄÖ"
-}
---UEXPECT--
unicode(131) "O:11:"\00dcberK\00f6\00f6li\00e4\00e5":1:{U:11:"\00e5\00e4\00f6\00c5\00c4\00d6\00fc\00dcber";U:6:"\00e5\00e4\00f6\00c5\00c4\00d6";}"
object(ÜberKööliäå)#2 (1) {
[u"åäöÅÄÖüÜber"]=>
diff --git a/ext/standard/tests/serialize/bug14293.phpt b/ext/standard/tests/serialize/bug14293.phpt
index aab44f6568..027f72c068 100644
--- a/ext/standard/tests/serialize/bug14293.phpt
+++ b/ext/standard/tests/serialize/bug14293.phpt
@@ -27,17 +27,6 @@ var_dump($t);
__sleep called
Notice: serialize(): "b" returned as member variable from __sleep() but does not exist in %sbug14293.php on line %d
-O:1:"t":2:{S:1:"a";S:5:"hello";S:1:"b";N;}
-object(t)#%d (2) {
- ["a"]=>
- string(5) "hello"
- ["b"]=>
- NULL
-}
---UEXPECTF--
-__sleep called
-
-Notice: serialize(): "b" returned as member variable from __sleep() but does not exist in %sbug14293.php on line %d
O:1:"t":2:{U:1:"a";U:5:"hello";U:1:"b";N;}
object(t)#%d (2) {
[u"a"]=>
diff --git a/ext/standard/tests/serialize/bug21957.phpt b/ext/standard/tests/serialize/bug21957.phpt
index 77aac20869..454c4e242d 100644
--- a/ext/standard/tests/serialize/bug21957.phpt
+++ b/ext/standard/tests/serialize/bug21957.phpt
@@ -30,25 +30,6 @@ var_dump(unserialize($s));
?>
--EXPECT--
array(2) {
- ["one"]=>
- string(3) "ABC"
- ["two"]=>
- object(test)#1 (2) {
- ["a"]=>
- int(7)
- ["b"]=>
- int(2)
- }
-}
-a:2:{S:3:"one";S:3:"ABC";S:3:"two";N;}
-array(2) {
- ["one"]=>
- string(3) "ABC"
- ["two"]=>
- NULL
-}
---UEXPECT--
-array(2) {
[u"one"]=>
unicode(3) "ABC"
[u"two"]=>
diff --git a/ext/standard/tests/serialize/bug26762.phpt b/ext/standard/tests/serialize/bug26762.phpt
index 1dd254b9f2..fc522271be 100755
--- a/ext/standard/tests/serialize/bug26762.phpt
+++ b/ext/standard/tests/serialize/bug26762.phpt
@@ -24,6 +24,4 @@ catch (Exception $e) {
?>
--EXPECTF--
-string(3) "FOO"
---UEXPECTF--
unicode(3) "FOO"
diff --git a/ext/standard/tests/serialize/bug27469.phpt b/ext/standard/tests/serialize/bug27469.phpt
index fccc1d1c21..0cfc4fdeb0 100644
--- a/ext/standard/tests/serialize/bug27469.phpt
+++ b/ext/standard/tests/serialize/bug27469.phpt
@@ -12,21 +12,6 @@ var_dump($obj);
?>
--EXPECT--
object(__PHP_Incomplete_Class)#1 (1) {
- ["__PHP_Incomplete_Class_Name"]=>
- string(9) "TestClass"
-}
-O:9:"TestClass":0:{}
-object(__PHP_Incomplete_Class)#1 (1) {
- ["__PHP_Incomplete_Class_Name"]=>
- string(9) "TestClass"
-}
-O:9:"TestClass":0:{}
-object(__PHP_Incomplete_Class)#1 (1) {
- ["__PHP_Incomplete_Class_Name"]=>
- string(9) "TestClass"
-}
---UEXPECT--
-object(__PHP_Incomplete_Class)#1 (1) {
[u"__PHP_Incomplete_Class_Name"]=>
unicode(9) "TestClass"
}
diff --git a/ext/standard/tests/serialize/bug28325.phpt b/ext/standard/tests/serialize/bug28325.phpt
index 8c2dd7ed07..6915bd4ae3 100644
--- a/ext/standard/tests/serialize/bug28325.phpt
+++ b/ext/standard/tests/serialize/bug28325.phpt
@@ -19,26 +19,6 @@ var_dump(unserialize(serialize($a)));
?>
--EXPECTF--
object(a)#%d (1) {
- ["b"]=>
- object(b)#%d (1) {
- ["c"]=>
- object(c)#%d (1) {
- ["d"]=>
- object(a)#%d (1) {
- ["b"]=>
- object(b)#%d (1) {
- ["c"]=>
- object(c)#%d (1) {
- ["d"]=>
- *RECURSION*
- }
- }
- }
- }
- }
-}
---UEXPECTF--
-object(a)#%d (1) {
[u"b"]=>
object(b)#%d (1) {
[u"c"]=>
diff --git a/ext/standard/tests/serialize/bug31402.phpt b/ext/standard/tests/serialize/bug31402.phpt
index 21c386b57a..fa5e212afe 100644
--- a/ext/standard/tests/serialize/bug31402.phpt
+++ b/ext/standard/tests/serialize/bug31402.phpt
@@ -35,58 +35,6 @@ var_dump($before, $after);
===DONE===
--EXPECTF--
object(TestY)#%d (2) {
- ["A"]=>
- array(3) {
- [1]=>
- object(TestX)#%d (1) {
- ["i"]=>
- int(1)
- }
- [2]=>
- &object(TestX)#%d (1) {
- ["i"]=>
- int(2)
- }
- [3]=>
- &object(TestX)#%d (1) {
- ["i"]=>
- int(2)
- }
- }
- ["B"]=>
- object(TestX)#%d (1) {
- ["i"]=>
- int(1)
- }
-}
-object(TestY)#%d (2) {
- ["A"]=>
- array(3) {
- [1]=>
- object(TestX)#%d (1) {
- ["i"]=>
- int(1)
- }
- [2]=>
- &object(TestX)#%d (1) {
- ["i"]=>
- int(2)
- }
- [3]=>
- &object(TestX)#%d (1) {
- ["i"]=>
- int(2)
- }
- }
- ["B"]=>
- object(TestX)#%d (1) {
- ["i"]=>
- int(1)
- }
-}
-===DONE===
---UEXPECTF--
-object(TestY)#%d (2) {
[u"A"]=>
array(3) {
[1]=>
diff --git a/ext/standard/tests/serialize/serialization_arrays_001.phpt b/ext/standard/tests/serialize/serialization_arrays_001.phpt
index 19c69b708f..0e5eef6e20 100644
--- a/ext/standard/tests/serialize/serialization_arrays_001.phpt
+++ b/ext/standard/tests/serialize/serialization_arrays_001.phpt
@@ -33,78 +33,7 @@ var_dump($arr_asso);
echo "\nDone";
?>
---EXPECTF--
-
---- Testing Circular reference of an array ---
--- Normal array --
-string(238) "a:7:{i:0;i:0;i:1;i:1;i:2;i:-2;i:3;d:3.333333000000000101437080957111902534961700439453125;i:4;S:1:"a";i:5;a:0:{}i:6;a:7:{i:0;i:0;i:1;i:1;i:2;i:-2;i:3;d:3.333333000000000101437080957111902534961700439453125;i:4;S:1:"a";i:5;a:0:{}i:6;R:8;}}"
-array(7) {
- [0]=>
- int(0)
- [1]=>
- int(1)
- [2]=>
- int(-2)
- [3]=>
- float(3.333333)
- [4]=>
- string(1) "a"
- [5]=>
- array(0) {
- }
- [6]=>
- &array(7) {
- [0]=>
- int(0)
- [1]=>
- int(1)
- [2]=>
- int(-2)
- [3]=>
- float(3.333333)
- [4]=>
- string(1) "a"
- [5]=>
- array(0) {
- }
- [6]=>
- &array(7) {
- [0]=>
- int(0)
- [1]=>
- int(1)
- [2]=>
- int(-2)
- [3]=>
- float(3.333333)
- [4]=>
- string(1) "a"
- [5]=>
- array(0) {
- }
- [6]=>
- *RECURSION*
- }
- }
-}
-
--- Associative array --
-array(2) {
- ["a"]=>
- &string(4) "test"
- ["b"]=>
- &string(4) "test"
-}
-string(37) "a:2:{S:1:"a";S:4:"test";S:1:"b";R:2;}"
-array(2) {
- ["a"]=>
- &string(4) "test"
- ["b"]=>
- &string(4) "test"
-}
-
-Done
---UEXPECTF--
+--EXPECT--
--- Testing Circular reference of an array ---
-- Normal array --
diff --git a/ext/standard/tests/serialize/serialization_arrays_002.phpt b/ext/standard/tests/serialize/serialization_arrays_002.phpt
index af3d1125a1..ee05d1efc7 100644
--- a/ext/standard/tests/serialize/serialization_arrays_002.phpt
+++ b/ext/standard/tests/serialize/serialization_arrays_002.phpt
@@ -100,449 +100,7 @@ check($a);
echo "Done";
?>
---EXPECTF--
-
-
---- No references:
-array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;i:1;}"
-array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 0 refs 1:
-array(3) {
- [1]=>
- &int(1)
- [0]=>
- &int(1)
- [2]=>
- int(1)
-}
-string(30) "a:3:{i:1;i:1;i:0;R:2;i:2;i:1;}"
-array(3) {
- [1]=>
- &int(1)
- [0]=>
- &int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [1]=>
- &string(10) "b0.changed"
- [0]=>
- &string(10) "b0.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [1]=>
- &string(10) "b1.changed"
- [0]=>
- &string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [1]=>
- &string(10) "b1.changed"
- [0]=>
- &string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 0 refs 2:
-array(3) {
- [2]=>
- &int(1)
- [0]=>
- &int(1)
- [1]=>
- int(1)
-}
-string(30) "a:3:{i:2;i:1;i:0;R:2;i:1;i:1;}"
-array(3) {
- [2]=>
- &int(1)
- [0]=>
- &int(1)
- [1]=>
- int(1)
-}
-array(3) {
- [2]=>
- &string(10) "b0.changed"
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- int(1)
-}
-array(3) {
- [2]=>
- &string(10) "b0.changed"
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
-}
-array(3) {
- [2]=>
- &string(10) "b2.changed"
- [0]=>
- &string(10) "b2.changed"
- [1]=>
- string(10) "b1.changed"
-}
-
-
---- 1 refs 0:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;R:2;i:2;i:1;}"
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b0.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 1 refs 2:
-array(3) {
- [0]=>
- int(1)
- [2]=>
- &int(1)
- [1]=>
- &int(1)
-}
-string(30) "a:3:{i:0;i:1;i:2;i:1;i:1;R:3;}"
-array(3) {
- [0]=>
- int(1)
- [2]=>
- &int(1)
- [1]=>
- &int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [2]=>
- &int(1)
- [1]=>
- &int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [2]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [2]=>
- &string(10) "b2.changed"
- [1]=>
- &string(10) "b2.changed"
-}
-
-
---- 2 refs 0:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- int(1)
- [2]=>
- &int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;R:2;}"
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- int(1)
- [2]=>
- &int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- int(1)
- [2]=>
- &string(10) "b0.changed"
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- &string(10) "b0.changed"
-}
-array(3) {
- [0]=>
- &string(10) "b2.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- &string(10) "b2.changed"
-}
-
-
---- 2 refs 1:
-array(3) {
- [0]=>
- int(1)
- [1]=>
- &int(1)
- [2]=>
- &int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;R:3;}"
-array(3) {
- [0]=>
- int(1)
- [1]=>
- &int(1)
- [2]=>
- &int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- &int(1)
- [2]=>
- &int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- &string(10) "b1.changed"
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- &string(10) "b2.changed"
- [2]=>
- &string(10) "b2.changed"
-}
-
-
---- 0,1 ref 2:
-array(3) {
- [2]=>
- &int(1)
- [0]=>
- &int(1)
- [1]=>
- &int(1)
-}
-string(30) "a:3:{i:2;i:1;i:0;R:2;i:1;R:2;}"
-array(3) {
- [2]=>
- &int(1)
- [0]=>
- &int(1)
- [1]=>
- &int(1)
-}
-array(3) {
- [2]=>
- &string(10) "b0.changed"
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b0.changed"
-}
-array(3) {
- [2]=>
- &string(10) "b1.changed"
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
-}
-array(3) {
- [2]=>
- &string(10) "b2.changed"
- [0]=>
- &string(10) "b2.changed"
- [1]=>
- &string(10) "b2.changed"
-}
-
-
---- 0,2 ref 1:
-array(3) {
- [1]=>
- &int(1)
- [0]=>
- &int(1)
- [2]=>
- &int(1)
-}
-string(30) "a:3:{i:1;i:1;i:0;R:2;i:2;R:2;}"
-array(3) {
- [1]=>
- &int(1)
- [0]=>
- &int(1)
- [2]=>
- &int(1)
-}
-array(3) {
- [1]=>
- &string(10) "b0.changed"
- [0]=>
- &string(10) "b0.changed"
- [2]=>
- &string(10) "b0.changed"
-}
-array(3) {
- [1]=>
- &string(10) "b1.changed"
- [0]=>
- &string(10) "b1.changed"
- [2]=>
- &string(10) "b1.changed"
-}
-array(3) {
- [1]=>
- &string(10) "b2.changed"
- [0]=>
- &string(10) "b2.changed"
- [2]=>
- &string(10) "b2.changed"
-}
-
-
---- 1,2 ref 0:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- &int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;R:2;i:2;R:2;}"
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- &int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b0.changed"
- [2]=>
- &string(10) "b0.changed"
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- &string(10) "b1.changed"
-}
-array(3) {
- [0]=>
- &string(10) "b2.changed"
- [1]=>
- &string(10) "b2.changed"
- [2]=>
- &string(10) "b2.changed"
-}
-Done
---UEXPECTF--
+--EXPECT--
--- No references:
@@ -983,4 +541,4 @@ array(3) {
[2]=>
&unicode(10) "b2.changed"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_arrays_003.phpt b/ext/standard/tests/serialize/serialization_arrays_003.phpt
index 4e7e68e408..6d0250c654 100644
--- a/ext/standard/tests/serialize/serialization_arrays_003.phpt
+++ b/ext/standard/tests/serialize/serialization_arrays_003.phpt
@@ -70,229 +70,7 @@ check($a);
echo "Done";
?>
---EXPECTF--
-
-
---- 0 refs external:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;i:1;}"
-array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 1 refs external:
-array(3) {
- [0]=>
- int(1)
- [1]=>
- &int(1)
- [2]=>
- int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;i:1;}"
-array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 2 refs external:
-array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- &int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;i:1;}"
-array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 1,2 ref external:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;R:2;i:2;i:1;}"
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b0.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 1,2,3 ref external:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- &int(1)
-}
-string(30) "a:3:{i:0;i:1;i:1;R:2;i:2;R:2;}"
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- &int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b0.changed"
- [2]=>
- &string(10) "b0.changed"
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- &string(10) "b1.changed"
-}
-array(3) {
- [0]=>
- &string(10) "b2.changed"
- [1]=>
- &string(10) "b2.changed"
- [2]=>
- &string(10) "b2.changed"
-}
-Done
---UEXPECTF--
+--EXPECT--
--- 0 refs external:
@@ -513,4 +291,4 @@ array(3) {
[2]=>
&unicode(10) "b2.changed"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_arrays_004.phpt b/ext/standard/tests/serialize/serialization_arrays_004.phpt
index 17af21b789..476f1cfa42 100644
--- a/ext/standard/tests/serialize/serialization_arrays_004.phpt
+++ b/ext/standard/tests/serialize/serialization_arrays_004.phpt
@@ -51,421 +51,7 @@ check($a);
echo "Done";
?>
---EXPECTF--
-
-
---- 1 refs container:
-array(3) {
- [0]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- int(1)
- [2]=>
- int(1)
- }
- [1]=>
- int(1)
- [2]=>
- int(1)
- }
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-string(56) "a:3:{i:0;a:3:{i:0;R:2;i:1;i:1;i:2;i:1;}i:1;i:1;i:2;i:1;}"
-array(3) {
- [0]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- int(1)
- [2]=>
- int(1)
- }
- [1]=>
- int(1)
- [2]=>
- int(1)
- }
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- %string(10) "b0.changed"
- [1]=>
- int(1)
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- %string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- %string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 1,2 ref container:
-array(3) {
- [0]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- int(1)
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- int(1)
- }
- [2]=>
- int(1)
- }
- [1]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- int(1)
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- int(1)
- }
- [2]=>
- int(1)
- }
- [2]=>
- int(1)
-}
-string(56) "a:3:{i:0;a:3:{i:0;R:2;i:1;R:2;i:2;i:1;}i:1;R:2;i:2;i:1;}"
-array(3) {
- [0]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- int(1)
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- int(1)
- }
- [2]=>
- int(1)
- }
- [1]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- int(1)
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- int(1)
- }
- [2]=>
- int(1)
- }
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b0.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- 1,2,3 ref container:
-array(3) {
- [0]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [2]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- }
- [1]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [2]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- }
- [2]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [2]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- }
-}
-string(56) "a:3:{i:0;a:3:{i:0;R:2;i:1;R:2;i:2;R:2;}i:1;R:2;i:2;R:2;}"
-array(3) {
- [0]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [2]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- }
- [1]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [2]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- }
- [2]=>
- &array(3) {
- [0]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [1]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- [2]=>
- &array(3) {
- [0]=>
- *RECURSION*
- [1]=>
- *RECURSION*
- [2]=>
- *RECURSION*
- }
- }
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b0.changed"
- [2]=>
- &string(10) "b0.changed"
-}
-array(3) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- &string(10) "b1.changed"
-}
-array(3) {
- [0]=>
- &string(10) "b2.changed"
- [1]=>
- &string(10) "b2.changed"
- [2]=>
- &string(10) "b2.changed"
-}
-Done
---UEXPECTF--
+--EXPECT--
--- 1 refs container:
diff --git a/ext/standard/tests/serialize/serialization_arrays_005.phpt b/ext/standard/tests/serialize/serialization_arrays_005.phpt
index dc8e9a5bff..47a7688b99 100644
--- a/ext/standard/tests/serialize/serialization_arrays_005.phpt
+++ b/ext/standard/tests/serialize/serialization_arrays_005.phpt
@@ -78,498 +78,7 @@ $a[1] = &$c;
check($c);
?>
---EXPECTF--
-
-
---- Nested array references 1 element in containing array:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- int(1)
- [2]=>
- &array(2) {
- [0]=>
- &int(1)
- [1]=>
- int(1)
- }
-}
-string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;i:1;}}"
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- int(1)
- [2]=>
- array(2) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- int(1)
- }
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- int(1)
- }
-}
-array(3) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- int(1)
- }
-}
-array(3) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- string(12) "b2.1.changed"
- }
-}
-
-
---- Nested array references 1 element in containing array (slightly different):
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &array(2) {
- [0]=>
- int(1)
- [1]=>
- &int(1)
- }
- [2]=>
- int(1)
-}
-string(48) "a:3:{i:0;i:1;i:1;a:2:{i:0;i:1;i:1;R:2;}i:2;i:1;}"
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- array(2) {
- [0]=>
- int(1)
- [1]=>
- &string(10) "b0.changed"
- }
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- array(2) {
- [0]=>
- string(12) "b1.0.changed"
- [1]=>
- &string(10) "b0.changed"
- }
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(12) "b1.1.changed"
- [1]=>
- array(2) {
- [0]=>
- string(12) "b1.0.changed"
- [1]=>
- &string(12) "b1.1.changed"
- }
- [2]=>
- int(1)
-}
-array(3) {
- [0]=>
- &string(12) "b1.1.changed"
- [1]=>
- array(2) {
- [0]=>
- string(12) "b1.0.changed"
- [1]=>
- &string(12) "b1.1.changed"
- }
- [2]=>
- string(10) "b2.changed"
-}
-
-
---- Nested array references 2 elements in containing array:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- &array(2) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- }
-}
-string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;R:3;}}"
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &int(1)
- [2]=>
- array(2) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &int(1)
- }
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b1.changed"
- }
-}
-array(3) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- &string(10) "b1.changed"
- }
-}
-array(3) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- &string(12) "b2.1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- &string(12) "b2.1.changed"
- }
-}
-
-
---- Containing array references 1 element in nested array:
-array(3) {
- [0]=>
- int(1)
- [1]=>
- &int(1)
- [2]=>
- &array(2) {
- [0]=>
- &int(1)
- [1]=>
- int(1)
- }
-}
-string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:3;i:1;i:1;}}"
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- &int(1)
- [2]=>
- array(2) {
- [0]=>
- &int(1)
- [1]=>
- int(1)
- }
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(10) "b1.changed"
- [1]=>
- int(1)
- }
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- &string(12) "b2.0.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- int(1)
- }
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- &string(12) "b2.0.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- string(12) "b2.1.changed"
- }
-}
-
-
---- Containing array references 2 elements in nested array:
-array(3) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- [2]=>
- &array(2) {
- [0]=>
- &int(1)
- [1]=>
- &int(1)
- }
-}
-string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;R:3;}}"
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &int(1)
- [2]=>
- array(2) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &int(1)
- }
-}
-array(3) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(10) "b0.changed"
- [1]=>
- &string(10) "b1.changed"
- }
-}
-array(3) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- &string(10) "b1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- &string(10) "b1.changed"
- }
-}
-array(3) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- &string(12) "b2.1.changed"
- [2]=>
- array(2) {
- [0]=>
- &string(12) "b2.0.changed"
- [1]=>
- &string(12) "b2.1.changed"
- }
-}
-
-
---- Nested array references container:
-array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- &array(2) {
- [0]=>
- int(1)
- [1]=>
- &array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- &array(2) {
- [0]=>
- int(1)
- [1]=>
- &array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- *RECURSION*
- }
- }
- }
- }
-}
-string(74) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;i:1;i:1;a:3:{i:0;i:1;i:1;i:1;i:2;R:4;}}}"
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- int(1)
- [2]=>
- &array(2) {
- [0]=>
- int(1)
- [1]=>
- array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- &array(2) {
- [0]=>
- int(1)
- [1]=>
- array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- *RECURSION*
- }
- }
- }
- }
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- &array(2) {
- [0]=>
- int(1)
- [1]=>
- array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- &array(2) {
- [0]=>
- int(1)
- [1]=>
- array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- *RECURSION*
- }
- }
- }
- }
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- &array(2) {
- [0]=>
- string(12) "b2.0.changed"
- [1]=>
- array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- &array(2) {
- [0]=>
- string(12) "b2.0.changed"
- [1]=>
- array(3) {
- [0]=>
- int(1)
- [1]=>
- int(1)
- [2]=>
- *RECURSION*
- }
- }
- }
- }
-}
-array(3) {
- [0]=>
- string(10) "b0.changed"
- [1]=>
- string(10) "b1.changed"
- [2]=>
- &array(2) {
- [0]=>
- string(12) "b2.0.changed"
- [1]=>
- string(12) "b2.1.changed"
- }
-}
---UEXPECTF--
+--EXPECT--
--- Nested array references 1 element in containing array:
diff --git a/ext/standard/tests/serialize/serialization_error_001.phpt b/ext/standard/tests/serialize/serialization_error_001.phpt
index 3f530580d6..7bc7f3b18b 100644
--- a/ext/standard/tests/serialize/serialization_error_001.phpt
+++ b/ext/standard/tests/serialize/serialization_error_001.phpt
@@ -39,4 +39,4 @@ NULL
Warning: unserialize() expects exactly 1 parameter, 2 given in %s on line 21
bool(false)
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_miscTypes_001.phpt b/ext/standard/tests/serialize/serialization_miscTypes_001.phpt
index 4a0b3a37df..f46c6206ab 100644
--- a/ext/standard/tests/serialize/serialization_miscTypes_001.phpt
+++ b/ext/standard/tests/serialize/serialization_miscTypes_001.phpt
Binary files differ
diff --git a/ext/standard/tests/serialize/serialization_objects_001.phpt b/ext/standard/tests/serialize/serialization_objects_001.phpt
index e10bccab66..7b8a088544 100644
--- a/ext/standard/tests/serialize/serialization_objects_001.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_001.phpt
Binary files differ
diff --git a/ext/standard/tests/serialize/serialization_objects_002.phpt b/ext/standard/tests/serialize/serialization_objects_002.phpt
index 32dfff376c..3aef8e51cd 100644
--- a/ext/standard/tests/serialize/serialization_objects_002.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_002.phpt
Binary files differ
diff --git a/ext/standard/tests/serialize/serialization_objects_003.phpt b/ext/standard/tests/serialize/serialization_objects_003.phpt
index 7c8f33a686..a9623ea5d3 100644
--- a/ext/standard/tests/serialize/serialization_objects_003.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_003.phpt
@@ -52,21 +52,6 @@ echo "\nDone";
?>
--EXPECTF--
--- Testing Abstract Class ---
-string(119) "O:10:"extendName":3:{S:1:"a";i:10;S:1:"b";d:12.2219999999999995310417943983338773250579833984375;S:1:"c";S:6:"string";}"
-object(extendName)#%d (3) {
- ["a"]=>
- int(10)
- ["b"]=>
- float(12.222)
- ["c"]=>
- string(6) "string"
-}
-string(18) "S:10:"extendName";"
-string(10) "extendName"
-
-Done
---UEXPECTF--
---- Testing Abstract Class ---
unicode(119) "O:10:"extendName":3:{U:1:"a";i:10;U:1:"b";d:12.2219999999999995310417943983338773250579833984375;U:1:"c";U:6:"string";}"
object(extendName)#%d (3) {
[u"a"]=>
@@ -79,4 +64,4 @@ object(extendName)#%d (3) {
unicode(18) "U:10:"extendName";"
unicode(10) "extendName"
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_004.phpt b/ext/standard/tests/serialize/serialization_objects_004.phpt
index c752c45e35..365515634f 100644
--- a/ext/standard/tests/serialize/serialization_objects_004.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_004.phpt
@@ -39,19 +39,11 @@ var_dump(serialize(array($x, $x)));
echo "Done";
?>
---EXPECTF--
-string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;r:2;}"
-string(22) "a:2:{i:0;i:1;i:1;i:1;}"
-string(30) "a:2:{i:0;S:1:"a";i:1;S:1:"a";}"
-string(22) "a:2:{i:0;b:1;i:1;b:1;}"
-string(18) "a:2:{i:0;N;i:1;N;}"
-string(26) "a:2:{i:0;a:0:{}i:1;a:0:{}}"
-Done
---UEXPECTF--
+--EXPECT--
unicode(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;r:2;}"
unicode(22) "a:2:{i:0;i:1;i:1;i:1;}"
unicode(30) "a:2:{i:0;U:1:"a";i:1;U:1:"a";}"
unicode(22) "a:2:{i:0;b:1;i:1;b:1;}"
unicode(18) "a:2:{i:0;N;i:1;N;}"
unicode(26) "a:2:{i:0;a:0:{}i:1;a:0:{}}"
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_005.phpt b/ext/standard/tests/serialize/serialization_objects_005.phpt
index c89c8e3132..bb79bda75c 100644
--- a/ext/standard/tests/serialize/serialization_objects_005.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_005.phpt
@@ -66,61 +66,6 @@ echo "Done";
--EXPECTF--
---> Various types of access on complete class:
object(C)#%d (1) {
- ["p"]=>
- int(1)
-}
-bool(true)
-int(1)
-string(13) "ref1.original"
-string(12) "ref1.changed"
-string(9) "p.changed"
-bool(false)
-bool(true)
-
-Notice: Undefined property: C::$x in %s on line 37
-NULL
-
-
----> Same types of access on incomplete class:
-object(__PHP_Incomplete_Class)#%d (2) {
- ["__PHP_Incomplete_Class_Name"]=>
- string(1) "C"
- ["p"]=>
- int(1)
-}
-bool(false)
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 43
-NULL
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 46
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 47
-NULL
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 49
-NULL
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 50
-string(9) "p.changed"
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 53
-bool(false)
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 54
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 55
-bool(false)
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 56
-
-Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 57
-NULL
-
-Fatal error: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 59
---UEXPECTF--
----> Various types of access on complete class:
-object(C)#%d (1) {
[u"p"]=>
int(1)
}
@@ -172,4 +117,4 @@ Notice: main(): The script tried to execute a method or access a property of an
Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 57
NULL
-Fatal error: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 59 \ No newline at end of file
+Fatal error: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 59
diff --git a/ext/standard/tests/serialize/serialization_objects_006.phpt b/ext/standard/tests/serialize/serialization_objects_006.phpt
index e223f4ee12..1569a118b7 100644
--- a/ext/standard/tests/serialize/serialization_objects_006.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_006.phpt
@@ -25,4 +25,4 @@ object(__PHP_Incomplete_Class)#%d (0) {
Notice: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "unknown" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in %s on line 15
NULL
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_007.phpt b/ext/standard/tests/serialize/serialization_objects_007.phpt
index 975f812eda..ea85fd8f4c 100644
--- a/ext/standard/tests/serialize/serialization_objects_007.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_007.phpt
@@ -36,18 +36,7 @@ in __autoload(FOO)
Warning: unserialize(): Function check() hasn't defined the class it was called for in %s on line 23
object(__PHP_Incomplete_Class)#%d (1) {
- ["__PHP_Incomplete_Class_Name"]=>
- string(3) "FOO"
-}
-Done
---UEXPECTF--
-in __autoload(FOO)
-in check(FOO)
-in __autoload(FOO)
-
-Warning: unserialize(): Function check() hasn't defined the class it was called for in %s on line 23
-object(__PHP_Incomplete_Class)#%d (1) {
[u"__PHP_Incomplete_Class_Name"]=>
unicode(3) "FOO"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_008.phpt b/ext/standard/tests/serialize/serialization_objects_008.phpt
index 3557013e96..f2aef25a4a 100644
--- a/ext/standard/tests/serialize/serialization_objects_008.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_008.phpt
@@ -22,15 +22,7 @@ echo "Done";
Warning: unserialize(): defined (Nonexistent) but not found in %s on line 14
object(__PHP_Incomplete_Class)#%d (1) {
- ["__PHP_Incomplete_Class_Name"]=>
- string(3) "FOO"
-}
-Done
---UEXPECTF--
-
-Warning: unserialize(): defined (Nonexistent) but not found in %s on line 14
-object(__PHP_Incomplete_Class)#%d (1) {
[u"__PHP_Incomplete_Class_Name"]=>
unicode(3) "FOO"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_009.phpt b/ext/standard/tests/serialize/serialization_objects_009.phpt
index 2e8b2dc80f..41e7ce5880 100644
--- a/ext/standard/tests/serialize/serialization_objects_009.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_009.phpt
@@ -33,4 +33,4 @@ Warning: Class C has no unserializer in %s on line 16
Notice: unserialize(): Error at offset 6 of 18 bytes in %s on line 16
bool(false)
bool(false)
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_010.phpt b/ext/standard/tests/serialize/serialization_objects_010.phpt
index 0fbf0723df..c228d44dd2 100644
--- a/ext/standard/tests/serialize/serialization_objects_010.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_010.phpt
@@ -34,4 +34,4 @@ echo "Done";
?>
--EXPECTF--
C::serialize() must return a string or NULL
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_011.phpt b/ext/standard/tests/serialize/serialization_objects_011.phpt
index 6e86dc95fb..46372d9e1a 100644
--- a/ext/standard/tests/serialize/serialization_objects_011.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_011.phpt
@@ -82,124 +82,6 @@ echo "Done";
Before serialization:
object(A)#%d (3) {
- ["APriv":"A":private]=>
- string(7) "A.APriv"
- ["AProt":protected]=>
- string(7) "A.AProt"
- ["APub"]=>
- string(6) "A.APub"
-}
-Serialized form:
-string(98) "O:1:"A":3:{S:8:"\0A\0APriv";S:7:"A.APriv";S:8:"\0*\0AProt";S:7:"A.AProt";S:4:"APub";S:6:"A.APub";}"
-Unserialized:
-object(A)#%d (3) {
- ["APriv":"A":private]=>
- string(7) "A.APriv"
- ["AProt":protected]=>
- string(7) "A.AProt"
- ["APub"]=>
- string(6) "A.APub"
-}
-Sanity check: bool(true)
-
-
--- Test instance of B --
-
-
-Before serialization:
-object(B)#%d (6) {
- ["BPriv":"B":private]=>
- string(7) "B.BPriv"
- ["BProt":protected]=>
- string(7) "B.BProt"
- ["BPub"]=>
- string(6) "B.BPub"
- ["APriv":"A":private]=>
- string(7) "A.APriv"
- ["AProt":protected]=>
- string(7) "A.AProt"
- ["APub"]=>
- string(6) "A.APub"
-}
-Serialized form:
-string(184) "O:1:"B":6:{S:8:"\0B\0BPriv";S:7:"B.BPriv";S:8:"\0*\0BProt";S:7:"B.BProt";S:4:"BPub";S:6:"B.BPub";S:8:"\0A\0APriv";S:7:"A.APriv";S:8:"\0*\0AProt";S:7:"A.AProt";S:4:"APub";S:6:"A.APub";}"
-Unserialized:
-object(B)#%d (6) {
- ["BPriv":"B":private]=>
- string(7) "B.BPriv"
- ["BProt":protected]=>
- string(7) "B.BProt"
- ["BPub"]=>
- string(6) "B.BPub"
- ["APriv":"A":private]=>
- string(7) "A.APriv"
- ["AProt":protected]=>
- string(7) "A.AProt"
- ["APub"]=>
- string(6) "A.APub"
-}
-Sanity check: bool(true)
-
-
--- Test instance of C --
-
-
-Before serialization:
-object(C)#%d (10) {
- ["APriv":"C":private]=>
- string(7) "C.APriv"
- ["AProt":protected]=>
- string(7) "C.AProt"
- ["APub"]=>
- string(6) "C.APub"
- ["CPriv":"C":private]=>
- string(7) "C.CPriv"
- ["CProt":protected]=>
- string(7) "C.BProt"
- ["CPub"]=>
- string(6) "C.CPub"
- ["BPriv":"B":private]=>
- string(7) "B.BPriv"
- ["BProt":protected]=>
- string(7) "B.BProt"
- ["BPub"]=>
- string(6) "B.BPub"
- ["APriv":"A":private]=>
- string(7) "A.APriv"
-}
-Serialized form:
-string(302) "O:1:"C":10:{S:8:"\0C\0APriv";S:7:"C.APriv";S:8:"\0*\0AProt";S:7:"C.AProt";S:4:"APub";S:6:"C.APub";S:8:"\0C\0CPriv";S:7:"C.CPriv";S:8:"\0*\0CProt";S:7:"C.BProt";S:4:"CPub";S:6:"C.CPub";S:8:"\0B\0BPriv";S:7:"B.BPriv";S:8:"\0*\0BProt";S:7:"B.BProt";S:4:"BPub";S:6:"B.BPub";S:8:"\0A\0APriv";S:7:"A.APriv";}"
-Unserialized:
-object(C)#%d (10) {
- ["APriv":"C":private]=>
- string(7) "C.APriv"
- ["AProt":protected]=>
- string(7) "C.AProt"
- ["APub"]=>
- string(6) "C.APub"
- ["CPriv":"C":private]=>
- string(7) "C.CPriv"
- ["CProt":protected]=>
- string(7) "C.BProt"
- ["CPub"]=>
- string(6) "C.CPub"
- ["BPriv":"B":private]=>
- string(7) "B.BPriv"
- ["BProt":protected]=>
- string(7) "B.BProt"
- ["BPub"]=>
- string(6) "B.BPub"
- ["APriv":"A":private]=>
- string(7) "A.APriv"
-}
-Sanity check: bool(true)
-Done
---UEXPECTF--
--- Test instance of A --
-
-
-Before serialization:
-object(A)#%d (3) {
[u"APriv":u"A":private]=>
unicode(7) "A.APriv"
[u"AProt":protected]=>
@@ -311,4 +193,4 @@ object(C)#%d (10) {
unicode(7) "A.APriv"
}
Sanity check: bool(true)
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_012.phpt b/ext/standard/tests/serialize/serialization_objects_012.phpt
index 7f3a7ef5b5..d6326e255e 100644
--- a/ext/standard/tests/serialize/serialization_objects_012.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_012.phpt
@@ -85,165 +85,6 @@ echo "Done";
?>
--EXPECTF--
-
-Array containing same object twice:
-array(2) {
- [0]=>
- object(stdClass)#%d (0) {
- }
- [1]=>
- object(stdClass)#%d (0) {
- }
-}
-string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;r:2;}"
-array(2) {
- [0]=>
- object(stdClass)#%d (0) {
- }
- [1]=>
- object(stdClass)#%d (0) {
- }
-}
-array(2) {
- [0]=>
- object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
- [1]=>
- object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
-}
-array(2) {
- [0]=>
- string(10) "a0.changed"
- [1]=>
- object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
-}
-
-
-Array containing object and reference to that object:
-array(2) {
- [0]=>
- &object(stdClass)#%d (0) {
- }
- [1]=>
- &object(stdClass)#%d (0) {
- }
-}
-string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;R:2;}"
-array(2) {
- [0]=>
- &object(stdClass)#%d (0) {
- }
- [1]=>
- &object(stdClass)#%d (0) {
- }
-}
-array(2) {
- [0]=>
- &object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
- [1]=>
- &object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
-}
-array(2) {
- [0]=>
- &string(10) "a0.changed"
- [1]=>
- &string(10) "a0.changed"
-}
-
-
-Object containing same object twice:object(stdClass)#%d (2) {
- ["a"]=>
- object(stdClass)#%d (0) {
- }
- ["b"]=>
- object(stdClass)#%d (0) {
- }
-}
-string(58) "O:8:"stdClass":2:{S:1:"a";O:8:"stdClass":0:{}S:1:"b";r:2;}"
-object(stdClass)#%d (2) {
- ["a"]=>
- object(stdClass)#%d (0) {
- }
- ["b"]=>
- object(stdClass)#%d (0) {
- }
-}
-object(stdClass)#%d (2) {
- ["a"]=>
- object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
- ["b"]=>
- object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
-}
-object(stdClass)#%d (2) {
- ["a"]=>
- string(20) "container->a.changed"
- ["b"]=>
- object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
-}
-
-
-Object containing object and reference to that object:
-object(stdClass)#%d (2) {
- ["a"]=>
- &object(stdClass)#%d (0) {
- }
- ["b"]=>
- &object(stdClass)#%d (0) {
- }
-}
-string(58) "O:8:"stdClass":2:{S:1:"a";O:8:"stdClass":0:{}S:1:"b";R:2;}"
-object(stdClass)#%d (2) {
- ["a"]=>
- &object(stdClass)#%d (0) {
- }
- ["b"]=>
- &object(stdClass)#%d (0) {
- }
-}
-object(stdClass)#%d (2) {
- ["a"]=>
- &object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
- ["b"]=>
- &object(stdClass)#%d (1) {
- ["a"]=>
- string(7) "newProp"
- }
-}
-object(stdClass)#%d (2) {
- ["a"]=>
- &string(20) "container->a.changed"
- ["b"]=>
- &string(20) "container->a.changed"
-}
-Done
---UEXPECTF--
-
Array containing same object twice:
array(2) {
[0]=>
@@ -399,4 +240,4 @@ object(stdClass)#%d (2) {
[u"b"]=>
&unicode(20) "container->a.changed"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_013.phpt b/ext/standard/tests/serialize/serialization_objects_013.phpt
index 7e4d58a6dd..9bdbc19305 100644
--- a/ext/standard/tests/serialize/serialization_objects_013.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_013.phpt
@@ -99,402 +99,6 @@ echo "Done";
--- a refs b:
object(stdClass)#%d (3) {
- ["b"]=>
- &int(1)
- ["a"]=>
- &int(1)
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"b";i:1;S:1:"a";R:2;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["b"]=>
- &int(1)
- ["a"]=>
- &int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["b"]=>
- &string(14) "obj->a.changed"
- ["a"]=>
- &string(14) "obj->a.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["b"]=>
- &string(14) "obj->b.changed"
- ["a"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["b"]=>
- &string(14) "obj->b.changed"
- ["a"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- a refs c:
-object(stdClass)#%d (3) {
- ["c"]=>
- &int(1)
- ["a"]=>
- &int(1)
- ["b"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"c";i:1;S:1:"a";R:2;S:1:"b";i:1;}"
-object(stdClass)#%d (3) {
- ["c"]=>
- &int(1)
- ["a"]=>
- &int(1)
- ["b"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["c"]=>
- &string(14) "obj->a.changed"
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["c"]=>
- &string(14) "obj->a.changed"
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
-}
-object(stdClass)#%d (3) {
- ["c"]=>
- &string(14) "obj->c.changed"
- ["a"]=>
- &string(14) "obj->c.changed"
- ["b"]=>
- string(14) "obj->b.changed"
-}
-
-
---- b refs a:
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";R:2;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->a.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- b refs c:
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["c"]=>
- &int(1)
- ["b"]=>
- &int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"c";i:1;S:1:"b";R:3;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["c"]=>
- &int(1)
- ["b"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["c"]=>
- &int(1)
- ["b"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["c"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["c"]=>
- &string(14) "obj->c.changed"
- ["b"]=>
- &string(14) "obj->c.changed"
-}
-
-
---- c refs a:
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- int(1)
- ["c"]=>
- &int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";i:1;S:1:"c";R:2;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- int(1)
- ["c"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- int(1)
- ["c"]=>
- &string(14) "obj->a.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- &string(14) "obj->a.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->c.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- &string(14) "obj->c.changed"
-}
-
-
---- c refs b:
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";i:1;S:1:"c";R:3;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- &string(14) "obj->b.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->c.changed"
- ["c"]=>
- &string(14) "obj->c.changed"
-}
-
-
---- a,b refs c:
-object(stdClass)#%d (3) {
- ["c"]=>
- &int(1)
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"c";i:1;S:1:"a";R:2;S:1:"b";R:2;}"
-object(stdClass)#%d (3) {
- ["c"]=>
- &int(1)
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["c"]=>
- &string(14) "obj->a.changed"
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->a.changed"
-}
-object(stdClass)#%d (3) {
- ["c"]=>
- &string(14) "obj->b.changed"
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
-}
-object(stdClass)#%d (3) {
- ["c"]=>
- &string(14) "obj->c.changed"
- ["a"]=>
- &string(14) "obj->c.changed"
- ["b"]=>
- &string(14) "obj->c.changed"
-}
-
-
---- a,c refs b:
-object(stdClass)#%d (3) {
- ["b"]=>
- &int(1)
- ["a"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"b";i:1;S:1:"a";R:2;S:1:"c";R:2;}"
-object(stdClass)#%d (3) {
- ["b"]=>
- &int(1)
- ["a"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["b"]=>
- &string(14) "obj->a.changed"
- ["a"]=>
- &string(14) "obj->a.changed"
- ["c"]=>
- &string(14) "obj->a.changed"
-}
-object(stdClass)#%d (3) {
- ["b"]=>
- &string(14) "obj->b.changed"
- ["a"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- &string(14) "obj->b.changed"
-}
-object(stdClass)#%d (3) {
- ["b"]=>
- &string(14) "obj->c.changed"
- ["a"]=>
- &string(14) "obj->c.changed"
- ["c"]=>
- &string(14) "obj->c.changed"
-}
-
-
---- b,c refs a:
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";R:2;S:1:"c";R:2;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->a.changed"
- ["c"]=>
- &string(14) "obj->a.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- &string(14) "obj->b.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->c.changed"
- ["b"]=>
- &string(14) "obj->c.changed"
- ["c"]=>
- &string(14) "obj->c.changed"
-}
-Done
---UEXPECTF--
---- a refs b:
-object(stdClass)#%d (3) {
[u"b"]=>
&int(1)
[u"a"]=>
@@ -887,4 +491,4 @@ object(stdClass)#%d (3) {
[u"c"]=>
&unicode(14) "obj->c.changed"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_014.phpt b/ext/standard/tests/serialize/serialization_objects_014.phpt
index a17e8c609d..d141255004 100644
--- a/ext/standard/tests/serialize/serialization_objects_014.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_014.phpt
@@ -76,226 +76,6 @@ echo "Done";
--- a refs external:
object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";i:1;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- b refs external:
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";i:1;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- c refs external:
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["b"]=>
- int(1)
- ["c"]=>
- &int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";i:1;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- int(1)
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- a,b ref external:
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";R:2;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->a.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- a,b,c ref external:
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";i:1;S:1:"b";R:2;S:1:"c";R:2;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- &int(1)
- ["b"]=>
- &int(1)
- ["c"]=>
- &int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->a.changed"
- ["c"]=>
- &string(14) "obj->a.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- &string(14) "obj->b.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->c.changed"
- ["b"]=>
- &string(14) "obj->c.changed"
- ["c"]=>
- &string(14) "obj->c.changed"
-}
-Done
---UEXPECTF--
---- a refs external:
-object(stdClass)#%d (3) {
[u"a"]=>
&int(1)
[u"b"]=>
@@ -512,4 +292,4 @@ object(stdClass)#%d (3) {
[u"c"]=>
&unicode(14) "obj->c.changed"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_objects_015.phpt b/ext/standard/tests/serialize/serialization_objects_015.phpt
index 1b4472c867..b2873e5e6d 100644
--- a/ext/standard/tests/serialize/serialization_objects_015.phpt
+++ b/ext/standard/tests/serialize/serialization_objects_015.phpt
@@ -73,466 +73,6 @@ echo "Done";
--EXPECTF--
--- a refs container:
object(stdClass)#%d (3) {
- ["a"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
- }
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";R:1;S:1:"b";i:1;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
- }
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- a eqs container:
-object(stdClass)#%d (3) {
- ["a"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
- }
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";r:1;S:1:"b";i:1;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
- }
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- int(1)
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- a,b ref container:
-object(stdClass)#%d (3) {
- ["a"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["b"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";R:1;S:1:"b";R:1;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["b"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->a.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- a,b eq container:
-object(stdClass)#%d (3) {
- ["a"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["b"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["c"]=>
- int(1)
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";r:1;S:1:"b";r:1;S:1:"c";i:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["b"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- *RECURSION*
- ["c"]=>
- int(1)
- }
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- int(1)
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-
-
---- a,b,c ref container:
-object(stdClass)#%d (3) {
- ["a"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["b"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["c"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";R:1;S:1:"b";R:1;S:1:"c";R:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["b"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["c"]=>
- &object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->a.changed"
- ["b"]=>
- &string(14) "obj->a.changed"
- ["c"]=>
- &string(14) "obj->a.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->b.changed"
- ["b"]=>
- &string(14) "obj->b.changed"
- ["c"]=>
- &string(14) "obj->b.changed"
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- &string(14) "obj->c.changed"
- ["b"]=>
- &string(14) "obj->c.changed"
- ["c"]=>
- &string(14) "obj->c.changed"
-}
-
-
---- a,b,c eq container:
-object(stdClass)#%d (3) {
- ["a"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["b"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["c"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
-}
-string(55) "O:8:"stdClass":3:{S:1:"a";r:1;S:1:"b";r:1;S:1:"c";r:1;}"
-object(stdClass)#%d (3) {
- ["a"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["b"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["c"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- *RECURSION*
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
- ["c"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- *RECURSION*
- ["c"]=>
- *RECURSION*
- }
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- *RECURSION*
- }
-}
-object(stdClass)#%d (3) {
- ["a"]=>
- string(14) "obj->a.changed"
- ["b"]=>
- string(14) "obj->b.changed"
- ["c"]=>
- string(14) "obj->c.changed"
-}
-Done
---UEXPECTF--
---- a refs container:
-object(stdClass)#%d (3) {
[u"a"]=>
&object(stdClass)#%d (3) {
[u"a"]=>
@@ -989,4 +529,4 @@ object(stdClass)#%d (3) {
[u"c"]=>
unicode(14) "obj->c.changed"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/serialize/serialization_precision_001.phpt b/ext/standard/tests/serialize/serialization_precision_001.phpt
index 9183dbe0a4..eb45161a07 100644
--- a/ext/standard/tests/serialize/serialization_precision_001.phpt
+++ b/ext/standard/tests/serialize/serialization_precision_001.phpt
@@ -18,6 +18,4 @@ serialize_precision=10
var_dump(serialize(0.1));
?>
--EXPECTF--
-string(6) "d:0.1;"
---UEXPECTF--
-unicode(6) "d:0.1;" \ No newline at end of file
+unicode(6) "d:0.1;"
diff --git a/ext/standard/tests/serialize/serialization_precision_002.phpt b/ext/standard/tests/serialize/serialization_precision_002.phpt
index 980a49f24b..615e7f5386 100644
--- a/ext/standard/tests/serialize/serialization_precision_002.phpt
+++ b/ext/standard/tests/serialize/serialization_precision_002.phpt
@@ -18,6 +18,4 @@ serialize_precision=75
var_dump(serialize(0.1));
?>
--EXPECTF--
-string(60) "d:0.1000000000000000055511151231257827021181583404541015625;"
---UEXPECTF--
-unicode(60) "d:0.1000000000000000055511151231257827021181583404541015625;" \ No newline at end of file
+unicode(60) "d:0.1000000000000000055511151231257827021181583404541015625;"
diff --git a/ext/standard/tests/serialize/serialization_resources_001.phpt b/ext/standard/tests/serialize/serialization_resources_001.phpt
index 8f970fb48d..b50beb7fcb 100644
--- a/ext/standard/tests/serialize/serialization_resources_001.phpt
+++ b/ext/standard/tests/serialize/serialization_resources_001.phpt
@@ -24,13 +24,7 @@ echo "\nDone";
?>
--EXPECTF--
--- Testing Resource ---
-string(4) "i:%d;"
-int(%d)
-
-Done
---UEXPECTF--
---- Testing Resource ---
unicode(4) "i:%d;"
int(%d)
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/streams/bug44712.phpt b/ext/standard/tests/streams/bug44712.phpt
index 9dfb26001b..25e7f725d1 100644
--- a/ext/standard/tests/streams/bug44712.phpt
+++ b/ext/standard/tests/streams/bug44712.phpt
@@ -7,4 +7,3 @@ stream_context_set_params($ctx, array("options" => 1));
?>
--EXPECTF--
Warning: stream_context_set_params(): Invalid stream/context parameter in %sbug44712.php on line %s
-
diff --git a/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt b/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt
index efb420bec3..4a9c2fe0a3 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_dir_basic.phpt
@@ -13,47 +13,6 @@ var_dump(stream_get_meta_data($dirObject->handle));
?>
--EXPECT--
array(9) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(3) "dir"
- ["mode"]=>
- string(1) "r"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(9) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(3) "dir"
- ["mode"]=>
- string(1) "r"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
---UEXPECT--
-array(9) {
[u"wrapper_type"]=>
unicode(9) "plainfile"
[u"stream_type"]=>
diff --git a/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt b/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt
index 798b22dd78..0cc82aba7d 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_file_basic.phpt
@@ -12,29 +12,6 @@ fclose($fp);
?>
--EXPECTF--
array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(1) "r"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%sstream_get_meta_data_file_basic.php"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
---UEXPECTF--
-array(10) {
[u"wrapper_type"]=>
unicode(9) "plainfile"
[u"stream_type"]=>
diff --git a/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt b/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt
index 44a2735711..8547b37ee6 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_file_variation1.phpt
@@ -29,535 +29,6 @@ unlink($filename);
?>
--EXPECTF--
array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(1) "r"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(1) "w"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "w+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(1) "a"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "a+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(1) "x"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "x+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "rb"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(3) "rb+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "wb"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(3) "wb+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "ab"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(3) "ab+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "xb"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(3) "xb+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "rt"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(3) "rt+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "wt"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(3) "wt+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "at"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(3) "at+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "xt"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(3) "xt+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
---UEXPECTF--
-array(10) {
[u"wrapper_type"]=>
unicode(9) "plainfile"
[u"stream_type"]=>
diff --git a/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt b/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt
index b7a0f7f0d7..24d262e159 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_file_variation2.phpt
@@ -42,107 +42,6 @@ unlink($filename);
?>
--EXPECTF--
Write some data to the file:
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "w+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Read a line of the file, causing data to be buffered:
-string(15) "a line of data
-"
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "w+"
- ["unread_bytes"]=>
- int(285)
- ["unread_chars"]=>
- int(285)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Read 20 bytes from the file:
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "w+"
- ["unread_bytes"]=>
- int(265)
- ["unread_chars"]=>
- int(265)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Read entire file:
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "w+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(true)
-}
---UEXPECTF--
-Write some data to the file:
Notice: fwrite(): 15 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
diff --git a/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt b/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt
index 25b66c651f..cf849e3909 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_file_variation4.phpt
@@ -28,54 +28,6 @@ unlink($filename);
--EXPECTF--
Create a file:
array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "w+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "File://%sstream_get_meta_data_file_variation4.php.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-Change to file's directory and open with a relative path:
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(1) "r"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "stream_get_meta_data_file_variation4.php.tmp"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
---UEXPECTF--
-Create a file:
-array(10) {
[u"wrapper_type"]=>
unicode(9) "plainfile"
[u"stream_type"]=>
diff --git a/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt b/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt
index 00b98d5b99..9a7343b3ad 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_file_variation5.phpt
@@ -32,55 +32,6 @@ unlink($filename);
?>
--EXPECTF--
Write some data to the file:
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "w+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Read entire file:
-array(10) {
- ["wrapper_type"]=>
- string(9) "plainfile"
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "w+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(true)
- ["uri"]=>
- string(%i) "%s"
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(true)
-}
---UEXPECTF--
-Write some data to the file:
Notice: fwrite(): 15 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
diff --git a/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt b/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt
index 172ada0983..1b3ea3a68d 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_process_basic.phpt
@@ -18,26 +18,6 @@ echo "Done";
?>
--EXPECT--
array(8) {
- ["stream_type"]=>
- string(5) "STDIO"
- ["mode"]=>
- string(2) "rb"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-Done
---UEXPECT--
-array(8) {
[u"stream_type"]=>
unicode(5) "STDIO"
[u"mode"]=>
@@ -55,4 +35,4 @@ array(8) {
[u"eof"]=>
bool(false)
}
-Done \ No newline at end of file
+Done
diff --git a/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt b/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt
index 623353a64f..d52b3e02e7 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt
@@ -10,25 +10,6 @@ fclose($tcp_socket);
?>
--EXPECTF--
array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
---UEXPECTF--
-array(8) {
[u"stream_type"]=>
unicode(%d) "tcp_socke%s"
[u"mode"]=>
diff --git a/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt b/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt
index dadb3383f6..6753c65dec 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt
@@ -35,89 +35,6 @@ var_dump(stream_get_meta_data($client));
?>
--EXPECTF--
Write some data:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Read a line from the client, causing data to be buffered:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(15)
- ["unread_chars"]=>
- int(15)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Read 3 bytes of data from the client:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(12)
- ["unread_chars"]=>
- int(12)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Close the server side socket and read the remaining data from the client:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(true)
-}
---UEXPECTF--
-Write some data:
Notice: fwrite(): 23 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
array(8) {
diff --git a/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt b/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt
index 67c2204033..7d0391ef82 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt
@@ -34,88 +34,6 @@ fclose($server);
?>
--EXPECTF--
array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Set a timeout on the client and attempt a read:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(true)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Write some data from the server:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(true)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Read some data from the client:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
---UEXPECTF--
-array(8) {
[u"stream_type"]=>
unicode(%d) "tcp_socke%s"
[u"mode"]=>
diff --git a/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt b/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt
index d7d5a49d28..5734528757 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt
@@ -29,69 +29,6 @@ fclose($server);
?>
--EXPECTF--
array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Set blocking to false:
-bool(true)
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(false)
- ["eof"]=>
- bool(false)
-}
-
-
-Set blocking to true:
-bool(true)
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(0)
- ["unread_chars"]=>
- int(0)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
---UEXPECTF--
-array(8) {
[u"stream_type"]=>
unicode(%d) "tcp_socke%s"
[u"mode"]=>
diff --git a/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt b/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt
index cfc06bf37a..626a3b1a5c 100644
--- a/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt
+++ b/ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt
@@ -33,68 +33,6 @@ fclose($client);
?>
--EXPECTF--
Write some data:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(%i)
- ["unread_chars"]=>
- int(%i)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Read a line from the client:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(%i)
- ["unread_chars"]=>
- int(%i)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(false)
-}
-
-
-Close the server side socket and read the remaining data from the client:
-array(8) {
- ["stream_type"]=>
- string(%d) "tcp_socke%s"
- ["mode"]=>
- string(2) "r+"
- ["unread_bytes"]=>
- int(%i)
- ["unread_chars"]=>
- int(%i)
- ["seekable"]=>
- bool(false)
- ["timed_out"]=>
- bool(false)
- ["blocked"]=>
- bool(true)
- ["eof"]=>
- bool(true)
-}
---UEXPECTF--
-Write some data:
Notice: fwrite(): 23 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
array(8) {