php-src/ext/standard/tests/array/data.inc
Ilia Alshanetsky 7db2ebd8ea This makes the output of the tests consistent on 32bit and 64 bit platforms.
The old test relied on the 32 bit behaviour, which caused them to always fail
on 64 bit platforms.
2002-11-07 17:49:11 +00:00

14 lines
202 B
PHP

<?php
$tmp = pow(2,24);
$data = array(
'PHP',
17=>'PHP: Hypertext Preprocessor',
5=>'Test',
'test'=>27,
2147483647=>'test',
"-2147483647"=>array('banana', 'orange'),
'monkey',
$tmp=>-1/3
);
?>