3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array('hello', 'world'); print_r( in_array('world'));
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: in_array() expects at least 2 parameters, 1 given in /in/lhm4J on line 5
Output for hhvm-3.13.2
Warning: in_array() expects at least 2 parameters, 1 given in /in/lhm4J on line 56
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for in_array() in /in/lhm4J on line 5