xref: /PHP-8.0/Zend/tests/bug69892.phpt (revision 84b195d9)
1--TEST--
2Bug #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
7var_dump([0 => 0] === [0x100000000 => 0]);
8?>
9--EXPECT--
10bool(false)
11