3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array_search(false, ['a', 'b', 'c', 'd', 'e']); var_dump($a);
based on j5H64
Output for 5.4.2 - 7.2.0
bool(false)
Output for 5.3.17 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/JtFkF on line 4
Process exited with code 255.