3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "hello, there, colin"; $arr = explode("," $string); echo $arr;
Output for 5.4.1 - 5.4.45, 5.5.24 - 5.5.29, 5.6.8 - 5.6.13
Parse error: syntax error, unexpected '$string' (T_VARIABLE) in /in/NIdFC on line 4
Process exited with code 255.

preferences:
182.23 ms | 1395 KiB | 63 Q