3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [1,2,3]; var_dump(array_search(4)); var_dump(array_search(3));
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0beta1
Warning: array_search() expects at least 2 parameters, 1 given in /in/LgRdu on line 4 NULL Warning: array_search() expects at least 2 parameters, 1 given in /in/LgRdu on line 5 NULL