3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_time = microtime(); array_shift(array_range(1,1000000)); $end_time = microtime(); echo $end_time - $start_time;

preferences:
36.42 ms | 402 KiB | 5 Q