3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP $list='1010<1>;1020<?>;3010<?>'; the list of items code $id='5060<?>'; //will add this $list_unique=explode(";", $list); print_r($list_unique); ?>
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected 'list' (T_LIST) in /in/ZmZ0G on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_LIST in /in/ZmZ0G on line 3
Process exited with code 255.

preferences:
185.08 ms | 1394 KiB | 57 Q