MFB: Fixed test on 64bit machines

This commit is contained in:
Ilia Alshanetsky 2008-02-14 16:30:10 +00:00
parent 67a7756d86
commit a2e7675cb4

View file

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