3v4l.org

run code in 300+ PHP versions simultaneously
<?php $info = array('q0'=>'coffee', 'q1'=>'brown', 'q2'=>'caffeine'); echo implode(",",$info); var_dump(explode($info))
Output for 5.4.18
Parse error: syntax error, unexpected end of file in /in/EVN4f on line 5
Process exited with code 255.
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected end of file in /in/6McJC on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/6McJC on line 5
Process exited with code 255.

preferences:
180.93 ms | 1395 KiB | 54 Q