]> granicus.if.org Git - php/commitdiff
MFB: Fixed tests
authorIlia Alshanetsky <iliaa@php.net>
Wed, 28 Nov 2007 14:50:03 +0000 (14:50 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 28 Nov 2007 14:50:03 +0000 (14:50 +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 ebac7f8e1e552f4bde6dcfea88e48c1942a96fd1..8dc2007449e5957e3dd7aacbd01d2e3b302d7241 100644 (file)
@@ -96,9 +96,9 @@ array(2) {
 }
 -- Iteration 2 --
 array(2) {
-  [1]=>
+  ["1.1"]=>
   float(1.1)
-  [2]=>
+  ["2.2"]=>
   float(2.2)
 }
 -- Iteration 3 --
index 82b481bdd9bc3fc34bf6aca405daf6096975efcf..8b430b370c98831d2c1b21beed7417b8a4a70bdd 100644 (file)
@@ -147,7 +147,7 @@ array(4) {
   int(111)
   ["color"]=>
   string(5) "color"
-  [2]=>
+  ["2.2"]=>
   float(2.2)
   [33]=>
   int(33)
@@ -158,7 +158,7 @@ array(4) {
   int(111)
   ["color"]=>
   string(5) "color"
-  [2]=>
+  ["2.2"]=>
   float(2.2)
   [33]=>
   int(33)
@@ -179,7 +179,7 @@ array(1) {
 array(6) {
   [1]=>
   int(1)
-  [2]=>
+  ["2.2"]=>
   float(2.2)
   ["int"]=>
   string(3) "int"
index 16eaad4924cc7d30e883380782b31b1abbae2da5..7ecc901116a27d0302cb10e07cb51a72ce461b61 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