|
|
@ -1,5 +1,9 @@ |
|
|
--TEST-- |
|
|
--TEST-- |
|
|
Test array_push() function : error conditions - min and max int values as keys |
|
|
Test array_push() function : error conditions - min and max int values as keys |
|
|
|
|
|
--SKIPIF-- |
|
|
|
|
|
<?php |
|
|
|
|
|
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); |
|
|
|
|
|
?> |
|
|
--FILE-- |
|
|
--FILE-- |
|
|
<?php |
|
|
<?php |
|
|
/* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) |
|
|
/* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) |
|
|
@ -46,4 +50,4 @@ array(3) { |
|
|
[-2147483648]=> |
|
|
[-2147483648]=> |
|
|
string(3) "new" |
|
|
string(3) "new" |
|
|
} |
|
|
} |
|
|
Done |
|
|
|
|
|
|
|
|
Done |