3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arrValue = array('first', 'second'); $ret2 = in_array(0, $arrValue); $ret2 = (0 == 'first') || (0 == 'second') var_dump($ret); var_dump($arrValue); ;
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/5AaFh on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/5AaFh on line 6
Process exited with code 255.