]> granicus.if.org Git - php/commitdiff
fix serialize tests after s: -> S: change
authorAntony Dovgal <tony2001@php.net>
Tue, 19 Dec 2006 12:45:03 +0000 (12:45 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 19 Dec 2006 12:45:03 +0000 (12:45 +0000)
ext/standard/tests/serialize/001.phpt
ext/standard/tests/serialize/006.phpt
ext/standard/tests/serialize/bug14293.phpt
ext/standard/tests/serialize/bug21957.phpt

index 8bb1d3557da0a202c961a3c49f8136dcdc91a784..66090c2822b0abc2b82c8e76294bf12eddc9b929 100644 (file)
@@ -87,15 +87,15 @@ 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";}
+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";}
+O:1:"s":2:{S:1:"a";S:5:"hallo";S:1:"c";S:5:"world";}
 __wakeup called
 object(s)#%d (3) {
   ["a"]=>
@@ -111,7 +111,7 @@ array(2) {
   ["b"]=>
   &string(4) "test"
 }
-a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
+a:2:{S:1:"a";S:4:"test";S:1:"b";R:2;}
 array(2) {
   ["a"]=>
   &string(4) "test"
index c1745a0b52fa574f1d5319b070e131856f8d25ca..bf14e36a53fd7f658bfb3904746966ad6f529939 100644 (file)
@@ -20,12 +20,12 @@ unicode.output_encoding=ISO-8859-1
        var_dump(unserialize(serialize($åäöÅÄÖ)));
 ?>
 --EXPECT--
-string(55) "O:11:"ÜberKööliäå":1:{s:11:"åäöÅÄÖüÜber";s:6:"åäöÅÄÖ";}"
+string(55) "O:11:"ÜberKööliäå":1:{S:11:"åäöÅÄÖüÜber";S:6:"åäöÅÄÖ";}"
 object(ÜberKööliäå)#2 (1) {
   ["åäöÅÄÖüÜber"]=>
   string(6) "åäöÅÄÖ"
 }
-string(32) "a:1:{s:6:"åäöÅÄÖ";s:6:"åäöÅÄÖ";}"
+string(32) "a:1:{S:6:"åäöÅÄÖ";S:6:"åäöÅÄÖ";}"
 array(1) {
   ["åäöÅÄÖ"]=>
   string(6) "åäöÅÄÖ"
index 902c16aa108a0d167975b029262199ca4c7b3198..aab44f6568fa53dec64e3ec307c5be29428b76c9 100644 (file)
@@ -27,7 +27,7 @@ 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;}
+O:1:"t":2:{S:1:"a";S:5:"hello";S:1:"b";N;}
 object(t)#%d (2) {
   ["a"]=>
   string(5) "hello"
index 3f7733480b26af1aa8f2c49961722fa5d07d0d54..77aac208692a51fab2aa674f31d60a340afa48b4 100644 (file)
@@ -40,7 +40,7 @@ array(2) {
     int(2)
   }
 }
-a:2:{s:3:"one";s:3:"ABC";s:3:"two";N;}
+a:2:{S:3:"one";S:3:"ABC";S:3:"two";N;}
 array(2) {
   ["one"]=>
   string(3) "ABC"