3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array(1, 2, 3, 4, 5); $y = unset($x[3]); var_dump($y);
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected 'unset' (T_UNSET) in /in/e3TJs on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_UNSET in /in/e3TJs on line 6
Process exited with code 255.

preferences:
175.44 ms | 1395 KiB | 67 Q