php-src/Zend/tests/bug69892.phpt
2018-08-12 16:15:45 +02:00

11 lines
264 B
PHP

--TEST--
Bug #69892: Different arrays compare identical due to integer key truncation
--SKIPIF--
<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only"); ?>
--FILE--
<?php
var_dump([0 => 0] === [0x100000000 => 0]);
?>
--EXPECT--
bool(false)