]> granicus.if.org Git - php/commitdiff
MFB: Fixed test on 64bit machines
authorIlia Alshanetsky <iliaa@php.net>
Thu, 14 Feb 2008 16:30:10 +0000 (16:30 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 14 Feb 2008 16:30:10 +0000 (16:30 +0000)
ext/standard/tests/array/array_push_error2.phpt

index bf85f92f1f52640e53792c73bebc579ab6f99ea0..acc91b0b6ec56244182d16d6abb64298ea13c3c3 100644 (file)
@@ -28,22 +28,22 @@ echo "Done";
 *** Testing array_push() : error conditions ***
 int(3)
 array(3) {
-  [-2147483647]=>
+  [-%d]=>
   string(3) "min"
-  [2147483647]=>
+  [%d]=>
   string(3) "max"
-  [-2147483648]=>
+  [-%d]=>
   string(3) "new"
 }
 
 Warning: array_push(): Cannot add element to the array as the next element is already occupied in %s on line %d
 bool(false)
 array(3) {
-  [-2147483647]=>
+  [-%d]=>
   string(3) "min"
-  [2147483647]=>
+  [%d]=>
   string(3) "max"
-  [-2147483648]=>
+  [-%d]=>
   string(3) "new"
 }
 Done