3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('the','quick','brown','fox','jumps','over','the','lazy','dog'); for ($i = 0; $i < 1000000; $i++) { $array[0] = 'the'; $l = sizeof($array); for ($j = 0; $j < $l; $j++) { $array[$j] = strtolower($array[$j]); } }
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.26, 7.3.0 - 7.3.13, 7.4.0 - 7.4.1, 8.1.28, 8.2.16 - 8.2.18, 8.3.3 - 8.3.6
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40

Process exited with code 137.

preferences:
184.94 ms | 402 KiB | 280 Q