3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump([0 => 0] === [0x100000000 => 0]); [0x100000000 => 0] != 0;
based on Sjdf8
Output for 5.4.44 - 5.4.45, 5.5.27 - 5.5.35, 5.6.11 - 7.2.0
bool(false)
Output for 5.4.0 - 5.4.43, 5.5.24 - 5.5.26, 5.6.8 - 5.6.10
bool(true)
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/lDmWb on line 3
Process exited with code 255.