3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array('foo', 'bar'); in_array('foo');
Output for 5.3.0 - 7.1.0
Warning: in_array() expects at least 2 parameters, 1 given in /in/5gkYO on line 3
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for in_array() in /in/5gkYO on line 3