3v4l.org

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