3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); for ($i = 0; $i < 50000; $i++) { $arr[] = str_shuffle('This sentance is of average length, which The Internet says is aboout 14.2 words.'); } echo implode(PHP_EOL, $arr);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.2.90.5560.11225.59
7.2.80.8900.12725.48
7.2.70.4600.15926.14
7.2.60.6620.10626.14
7.2.50.2820.12225.83
7.2.40.2790.12625.94
7.2.30.8190.12525.84
7.2.20.3160.12826.02
7.1.210.6100.19824.86
7.1.200.5550.15824.82
7.1.190.2730.15925.12
7.1.180.1930.18924.85
7.1.170.5420.16524.87
7.1.160.8120.17521.34
7.1.150.5250.16324.83
7.0.310.2970.06124.49
7.0.300.5690.08324.27
7.0.290.6980.09224.60
7.0.280.6150.07024.91

preferences:
32.89 ms | 400 KiB | 5 Q