3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = ['id' => 3, 'ccc' => 'CCC']; var_dump(araay_shift($x)); var_dump($x);
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function araay_shift() in /in/DfeQa:6 Stack trace: #0 {main} thrown in /in/DfeQa on line 6
Process exited with code 255.
Output for 5.4.11 - 5.6.21
Fatal error: Call to undefined function araay_shift() in /in/DfeQa on line 6
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/DfeQa on line 4
Process exited with code 255.