]> granicus.if.org Git - php/commitdiff
MFH
authorArnaud Le Blanc <lbarnaud@php.net>
Fri, 24 Apr 2009 17:14:32 +0000 (17:14 +0000)
committerArnaud Le Blanc <lbarnaud@php.net>
Fri, 24 Apr 2009 17:14:32 +0000 (17:14 +0000)
ext/pcre/tests/bug47229.phpt
ext/standard/tests/array/array_key_exists_object1.phpt
ext/standard/tests/array/array_key_exists_object2.phpt
ext/standard/tests/array/array_unique_variation2.phpt
ext/standard/tests/array/array_unique_variation6.phpt
ext/standard/tests/array/array_walk_object1.phpt
ext/standard/tests/array/array_walk_objects.phpt
ext/standard/tests/array/array_walk_rec_objects.phpt
ext/standard/tests/array/array_walk_recursive_object1.phpt
ext/standard/tests/array/bug44929.phpt

index 74dcf20099d6b8d0a94317a90f55f3905b26ab15..96b95a255df4470db5179b72d4e3b22f688abfc3 100644 (file)
@@ -19,19 +19,19 @@ preg_match("/a\-{1,}/", 'a\----a', $m);
 var_dump($m);
 
 ?>
---EXPECT--
-string(13) "\-oh really\?"
+--EXPECTF--
+%string|unicode%(13) "\-oh really\?"
 array(1) {
   [0]=>
-  string(4) "a---"
+  %string|unicode%(4) "a---"
 }
 array(1) {
   [0]=>
-  string(1) "a"
+  %string|unicode%(1) "a"
 }
 array(1) {
   [0]=>
-  string(5) "a----"
+  %string|unicode%(5) "a----"
 }
 array(0) {
 }
index 3b263df474cccb192572df96d9bfae5f8c3c049e..4ffafc45394c24341f3bd4b13adc77346a3efb2d 100644 (file)
@@ -57,11 +57,11 @@ $key = var3:
 bool(true)
 $class1:
 object(myClass)#1 (3) {
-  ["var1"]=>
-  string(1) "a"
-  ["var2"]=>
-  string(1) "b"
-  ["var3"]=>
+  [%b|u%"var1"]=>
+  %unicode|string%(1) "a"
+  [%b|u%"var2"]=>
+  %unicode|string%(1) "b"
+  [%b|u%"var3"]=>
   NULL
 }
 
@@ -70,11 +70,11 @@ $key = var3:
 bool(true)
 $class2:
 object(myClass)#2 (3) {
-  ["var1"]=>
-  string(1) "x"
-  ["var2"]=>
-  string(1) "y"
-  ["var3"]=>
-  string(1) "z"
+  [%b|u%"var1"]=>
+  %unicode|string%(1) "x"
+  [%b|u%"var2"]=>
+  %unicode|string%(1) "y"
+  [%b|u%"var3"]=>
+  %unicode|string%(1) "z"
 }
 Done
index 4a790e9d3780a2e515772599249f05784c703088..39bb129e39e231fd834e6bd5644d6f41f38e22ca 100644 (file)
@@ -61,11 +61,11 @@ $key = var3:
 bool(false)
 $class1:
 object(myClass)#1 (3) {
-  ["var1"]=>
-  string(1) "a"
-  ["var2":protected]=>
-  string(1) "b"
-  ["var3":"myClass":private]=>
+  [%b|u%"var1"]=>
+  %unicode|string%(1) "a"
+  [%b|u%"var2":protected]=>
+  %unicode|string%(1) "b"
+  [%b|u%"var3":%b|u%"myClass":private]=>
   NULL
 }
 
@@ -74,11 +74,11 @@ $key = var3:
 bool(false)
 $class2:
 object(myClass)#2 (3) {
-  ["var1"]=>
-  string(1) "x"
-  ["var2":protected]=>
-  string(1) "y"
-  ["var3":"myClass":private]=>
-  string(1) "z"
+  [%b|u%"var1"]=>
+  %unicode|string%(1) "x"
+  [%b|u%"var2":protected]=>
+  %unicode|string%(1) "y"
+  [%b|u%"var3":%b|u%"myClass":private]=>
+  %unicode|string%(1) "z"
 }
 Done
index df53c76a559d7acd9fa9f3ee01983683a60c47f2..6e375f2494f041d0491e9f70807fa188c4e2b4b8 100644 (file)
@@ -114,38 +114,38 @@ array(1) {
 -- Iteration 6 --
 array(4) {
   [0]=>
-  string(3) "a\v\f"
+  %unicode|string%(3) "a\v\f"
   [1]=>
-  string(5) "aaaa
+  %unicode|string%(5) "aaaa
 "
   [2]=>
-  string(1) "b"
+  %unicode|string%(1) "b"
   [4]=>
-  string(27) "\[\]\!\@\#$\%\^\&\*\(\)\{\}"
+  %unicode|string%(27) "\[\]\!\@\#$\%\^\&\*\(\)\{\}"
 }
 -- Iteration 7 --
 array(4) {
   [0]=>
-  string(5) "a\v\f"
+  %unicode|string%(5) "a\v\f"
   [1]=>
-  string(6) "aaaa\r"
+  %unicode|string%(6) "aaaa\r"
   [2]=>
-  string(1) "b"
+  %unicode|string%(1) "b"
   [4]=>
-  string(28) "\[\]\!\@\#\$\%\^\&\*\(\)\{\}"
+  %unicode|string%(28) "\[\]\!\@\#\$\%\^\&\*\(\)\{\}"
 }
 -- Iteration 8 --
 array(3) {
-  ["h1"]=>
-  string(1) "
+  [%b|u%"h1"]=>
+  %unicode|string%(1) "
 "
-  ["h2"]=>
-  string(88) "hello world
+  [%b|u%"h2"]=>
+  %unicode|string%(88) "hello world
 The quick brown fox jumped over;
 the lazy dog
 This is a double quoted string"
-  ["h3"]=>
-  string(88) "hello
+  [%b|u%"h3"]=>
+  %unicode|string%(88) "hello
  world 
 1111            != 2222\v\v
 heredoc
@@ -154,15 +154,15 @@ double quoted string. with\vdifferent\fwhite\vspaces"
 -- Iteration 9 --
 array(2) {
   [1]=>
-  string(3) "one"
+  %unicode|string%(3) "one"
   [2]=>
-  string(3) "two"
+  %unicode|string%(3) "two"
 }
 -- Iteration 10 --
 array(2) {
-  ["one"]=>
+  [%b|u%"one"]=>
   int(1)
-  ["two"]=>
+  [%b|u%"two"]=>
   int(2)
 }
 -- Iteration 11 --
@@ -176,55 +176,55 @@ array(3) {
 }
 -- Iteration 12 --
 array(2) {
-  ["one"]=>
-  string(3) "ten"
-  ["two"]=>
-  string(6) "twenty"
+  [%b|u%"one"]=>
+  %unicode|string%(3) "ten"
+  [%b|u%"two"]=>
+  %unicode|string%(6) "twenty"
 }
 -- Iteration 13 --
 array(3) {
-  ["one"]=>
+  [%b|u%"one"]=>
   int(1)
   [2]=>
-  string(3) "two"
+  %unicode|string%(3) "two"
   [4]=>
-  string(4) "four"
+  %unicode|string%(4) "four"
 }
 -- Iteration 14 --
 array(2) {
-  [""]=>
-  string(4) "null"
-  ["NULL"]=>
+  [%b|u%""]=>
+  %unicode|string%(4) "null"
+  [%b|u%"NULL"]=>
   NULL
 }
 -- Iteration 15 --
 array(4) {
   [1]=>
-  string(4) "true"
+  %unicode|string%(4) "true"
   [0]=>
-  string(5) "false"
-  ["false"]=>
+  %unicode|string%(5) "false"
+  [%b|u%"false"]=>
   bool(false)
-  ["true"]=>
+  [%b|u%"true"]=>
   bool(true)
 }
 -- Iteration 16 --
 array(2) {
-  [""]=>
-  string(6) "emptys"
-  ["emptyd"]=>
-  string(0) ""
+  [%b|u%""]=>
+  %unicode|string%(6) "emptys"
+  [%b|u%"emptyd"]=>
+  %unicode|string%(0) ""
 }
 -- Iteration 17 --
 array(2) {
   [1]=>
-  string(0) ""
+  %unicode|string%(0) ""
   [6]=>
   bool(true)
 }
 -- Iteration 18 --
 array(3) {
-  [""]=>
+  [%b|u%""]=>
   int(4)
   [0]=>
   int(5)
index 15a46518b7c6f4027fb21172523ef3335475b3ee..82442bdfad27566654dd5f2093e62f8c69bfd12d 100644 (file)
@@ -39,6 +39,6 @@ array(2) {
   [0]=>
   int(0)
   [1]=>
-  &string(5) "hello"
+  &%unicode|string%(5) "hello"
 }
 Done
index 9a76410c622372e6d4277d08db21993c0ae130a7..342e760ce8d5e8c81652e78d3708392c1a5e51ea 100644 (file)
Binary files a/ext/standard/tests/array/array_walk_object1.phpt and b/ext/standard/tests/array/array_walk_object1.phpt differ
index 83915af7c3610d2b6166259ba41139df5670d36e..506d1cafcfa71fc1d5c4c97402b7398a15ba3561 100644 (file)
Binary files a/ext/standard/tests/array/array_walk_objects.phpt and b/ext/standard/tests/array/array_walk_objects.phpt differ
index 8a819bc03e28ac323caf21c0cee05570daba21d4..bbd30f37f0d7b569e677be024f67d5c3cd305f5d 100644 (file)
Binary files a/ext/standard/tests/array/array_walk_rec_objects.phpt and b/ext/standard/tests/array/array_walk_rec_objects.phpt differ
index cc1b51ca78bbdda042bbc445eaa0d2be199c116e..7ddced7766baf0b20280c1c4816dbea97e6f02f5 100644 (file)
Binary files a/ext/standard/tests/array/array_walk_recursive_object1.phpt and b/ext/standard/tests/array/array_walk_recursive_object1.phpt differ
index dd2b0db077f7dc8e9af97278a6523a8c1d943a20..f82ecd05261b1ff31aa2aeaf79c97ed9827060cb 100644 (file)
@@ -2,7 +2,7 @@
 Bug #44929 (natsort doesn't handle leading zeros well)
 --FILE--
 <?php
-$a = array('001','008','005','00011','03','000014','-123','0.002','00','0');
+$a = array(b'001',b'008',b'005',b'00011',b'03',b'000014',b'-123',b'0.002',b'00',b'0');
 natsort($a);
 var_dump($a);
 ?>