bug69892.phpt 264 B

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