3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(in_array(0, array('Y', 'N', '')), true) echo '0 in strict array'; if(in_array(0, array('Y', 'N', ''))) echo '0 in array'; if(in_array(', array('Y', 'N', '')), true) echo 'empty in strict array'; if(in_array(', array('Y', 'N', ''))) echo 'empty in array';
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected ',' in /in/GggEc on line 2
Process exited with code 255.