3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start_time = microtime(); array_shift(array_range(1,1000000)); $end_time = microtime(); echo $end_time - $start_time;
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function array_range() in /in/T5J0I:5 Stack trace: #0 {main} thrown in /in/T5J0I on line 5
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function array_range() in /in/T5J0I on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_range() in /in/T5J0I on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_range() in /in/T5J0I on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_range() in /in/T5J0I on line 5