3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars = array("'zen','alto','i10'); echo $cars; ?>
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected end of file in /in/UuKi5 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/UuKi5 on line 4
Process exited with code 255.

preferences:
184.32 ms | 1399 KiB | 66 Q