3v4l.org

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