]> granicus.if.org Git - php/commitdiff
Fixed tests
authorIlia Alshanetsky <iliaa@php.net>
Wed, 28 Nov 2007 14:49:20 +0000 (14:49 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 28 Nov 2007 14:49:20 +0000 (14:49 +0000)
ext/standard/tests/array/array_combine_variation3.phpt
ext/standard/tests/array/array_combine_variation4.phpt
ext/standard/tests/array/array_combine_variation5.phpt

index 98635cf37e4ad1078395a9f242216c83056817ef..f048808d362f4dac7c1f7c1dadd454b14afbebae 100644 (file)
@@ -95,9 +95,9 @@ array(2) {
 }
 -- Iteration 2 --
 array(2) {
-  [1]=>
+  ["1.1"]=>
   float(1.1)
-  [2]=>
+  ["2.2"]=>
   float(2.2)
 }
 -- Iteration 3 --
index 748ba389c5c8af532b7a7838db0d87c14b81b0e1..02ec6efd22a1ec8783f01be140d5b6e42e468b38 100644 (file)
@@ -146,7 +146,7 @@ array(4) {
   int(111)
   ["color"]=>
   string(5) "color"
-  [2]=>
+  ["2.2"]=>
   float(2.2)
   [33]=>
   int(33)
@@ -157,7 +157,7 @@ array(4) {
   int(111)
   ["color"]=>
   string(5) "color"
-  [2]=>
+  ["2.2"]=>
   float(2.2)
   [33]=>
   int(33)
@@ -178,7 +178,7 @@ array(1) {
 array(6) {
   [1]=>
   int(1)
-  [2]=>
+  ["2.2"]=>
   float(2.2)
   ["int"]=>
   string(3) "int"
index 6f848c268d41a4a3cd2940eba0df9dba34a4a1d2..c3d1d57aac5403fe3eaa7fc7a7b42a4f5d6f3278 100644 (file)
@@ -108,18 +108,18 @@ array(4) {
 }
 -- Iteration 5 --
 array(1) {
-  [2]=>
+  ["2.3333"]=>
   float(2.3333)
 }
 -- Iteration 6 --
 array(4) {
-  [1]=>
+  ["1.2"]=>
   float(1.2)
-  [3]=>
+  ["3.33"]=>
   float(3.33)
-  [4]=>
+  ["4.8999992284"]=>
   float(4.8999992284)
-  [33333333]=>
+  ["33333333.333"]=>
   float(33333333.333)
 }
 -- Iteration 7 --
@@ -176,7 +176,7 @@ array(8) {
   resource(%d) of type (stream)
   [133]=>
   int(133)
-  [444]=>
+  ["444.432"]=>
   float(444.432)
   [""]=>
   NULL