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

index c001e1085bebeebb9bca1a51711e32bb6eed35b8..e52c91cabaa2c25ed4e3bc48cf4e733874044b1e 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
\ No newline at end of file