summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2008-02-14 16:29:45 +0000
committerIlia Alshanetsky <iliaa@php.net>2008-02-14 16:29:45 +0000
commite2c5bdae51d632d86640d16fda2f166d983f1b12 (patch)
treed23ed39dde640b61a49f26c752a909886ccbd941
parent28e7d996dfb2b7ee248286d1d245066b1f4788b7 (diff)
downloadphp-git-e2c5bdae51d632d86640d16fda2f166d983f1b12.tar.gz
Fixed test on 64bit machines
-rw-r--r--ext/standard/tests/array/array_push_error2.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/array/array_push_error2.phpt b/ext/standard/tests/array/array_push_error2.phpt
index c001e1085b..e52c91caba 100644
--- a/ext/standard/tests/array/array_push_error2.phpt
+++ b/ext/standard/tests/array/array_push_error2.phpt
@@ -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