@ 2013-10-21T10:52:57Z <?php
var_dump(array_shift([]));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.28 , 8.1.0 - 8.1.17 , 8.2.0 - 8.2.4 Fatal error: Uncaught Error: array_shift(): Argument #1 ($array) cannot be passed by reference in /in/hMcXC:2
Stack trace:
#0 {main}
thrown in /in/hMcXC on line 2
Process exited with code 255 . Output for 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.34 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 Fatal error: Only variables can be passed by reference in /in/hMcXC on line 2
Process exited with code 255 . Output for 5.3.0 - 5.3.29 Parse error: syntax error, unexpected '[', expecting ')' in /in/hMcXC on line 2
Process exited with code 255 . preferences:dark mode live preview
268.72 ms | 401 KiB | 381 Q