3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); $array = array('12','34','56); print_r($array);
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected ''56);' (T_ENCAPSED_AND_WHITESPACE), expecting ')' in /in/OR27Q on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /in/OR27Q on line 5
Process exited with code 255.