3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; $start = microtime(true); for(;;) { $i++; if ($i == 1000000) break; } echo "Done: " . (microtime(true) - $start) . "<br/>\n";

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.00.0030.01919.14
7.1.70.0030.02117.18
7.1.60.0130.03619.82
7.1.50.0130.03016.66
7.1.00.0030.11022.57
7.0.200.0720.01214.70
7.0.140.0070.08721.95
7.0.60.0030.10320.02
7.0.50.0000.05317.80
7.0.40.0100.05720.20
7.0.30.0270.08720.16
7.0.20.0330.09720.09
7.0.10.0100.09720.30
7.0.00.0070.05320.19
5.6.280.0000.11720.78
5.6.210.0030.06720.61
5.6.200.0130.11318.23
5.6.190.0130.12020.58
5.6.180.0330.10720.43
5.6.170.0470.07020.51
5.6.160.0130.12020.49
5.6.150.0200.10718.11
5.6.140.0130.12018.21
5.6.130.0070.12318.21
5.6.120.0070.12721.00
5.6.110.0000.12321.01
5.6.100.0270.11021.04
5.6.90.0030.06720.96
5.6.80.0270.07720.43
5.6.70.4400.06320.51
5.5.350.0200.09720.49
5.5.340.0030.12018.02
5.5.330.0030.12020.25
5.5.320.0200.08020.32
5.5.310.0270.11720.32
5.5.300.0030.07017.96
5.5.290.0100.07317.88
5.5.280.0100.07320.84
5.5.270.0170.07020.76
5.5.260.0100.08720.75
5.5.250.0170.10320.69
5.5.240.0200.10720.11
5.4.450.0730.09719.52
5.4.440.0500.08719.52
5.4.430.0100.09019.32
5.4.420.0100.09719.35
5.4.410.0000.10018.94
5.4.400.0070.10018.68
5.4.390.0130.09018.46
5.4.380.0100.11318.78
5.4.370.0400.08318.68
5.4.360.0330.09018.53
5.4.350.0270.09718.56
5.4.340.0330.08318.50
5.4.320.0070.06612.46
5.4.310.0110.07312.45
5.4.300.0060.06612.46
5.4.290.0030.06912.45
5.4.280.0080.07112.35
5.4.270.0030.09718.88
5.4.260.0070.09318.75
5.4.250.0030.09318.84
5.4.240.0200.11718.89
5.4.230.0030.09718.91
5.4.220.0170.08718.89
5.4.210.0130.13018.94
5.4.200.0100.09018.86
5.4.190.0130.12318.99
5.4.180.0100.08318.84
5.4.170.0100.09718.98
5.4.160.0100.08318.71
5.4.150.0100.12718.86
5.4.140.0170.11316.19
5.4.130.0030.08316.18
5.4.120.0170.10716.21
5.4.110.0170.11016.49
5.4.100.0070.08716.42
5.4.90.0100.07716.29
5.4.80.0070.12016.43
5.4.70.0130.09716.39
5.4.60.0200.07016.23
5.4.50.0030.08716.39
5.4.40.0100.08016.51
5.4.30.0100.08016.38
5.4.20.0030.09316.38
5.4.10.0100.08016.36
5.4.00.0000.09315.63
5.3.290.0050.07512.80
5.3.280.0100.09014.51
5.3.270.0030.10314.38
5.3.260.0030.13714.46
5.3.250.0200.13014.45
5.3.240.0070.09314.60
5.3.230.0100.12314.64
5.3.220.0070.09714.71
5.3.210.0130.11314.45
5.3.200.0070.13014.45
5.3.190.0070.10714.48
5.3.180.0030.11314.43
5.3.170.0070.09714.58
5.3.160.0100.09314.71
5.3.150.0070.10714.57
5.3.140.0100.15714.70
5.3.130.0130.09014.46
5.3.120.0170.13014.57
5.3.110.0170.12714.64
5.3.100.0100.09014.12
5.3.90.0100.09713.84
5.3.80.0030.09713.89
5.3.70.0000.11013.71
5.3.60.0100.10013.77
5.3.50.0130.13013.64
5.3.40.0100.09313.64
5.3.30.0170.08314.06
5.3.20.0130.10713.57
5.3.10.0100.10713.79
5.3.00.0100.09313.65
5.2.170.0100.10011.29
5.2.160.0070.10311.16
5.2.150.0000.11011.17
5.2.140.0170.13011.16
5.2.130.0000.11311.03
5.2.120.0070.13011.10
5.2.110.0100.10010.98
5.2.100.0070.09711.12
5.2.90.0070.12011.20
5.2.80.0070.10310.85
5.2.70.0130.10711.20
5.2.60.0000.11010.98
5.2.50.0070.10011.03
5.2.40.0070.10311.09
5.2.30.0000.10710.99
5.2.20.0030.11010.85
5.2.10.0030.10311.07
5.2.00.0170.09010.54
5.1.60.0000.1139.99
5.1.50.0000.1039.99
5.1.40.0000.1039.89
5.1.30.0130.11310.39
5.1.20.0130.09310.42
5.1.10.0030.1009.99
5.1.00.0000.11010.08
5.0.50.0000.1808.54
5.0.40.0000.1778.41
5.0.30.0030.1738.21
5.0.20.0000.1938.27
5.0.10.0070.1538.40
5.0.00.0070.1838.11
4.4.90.0000.1906.87
4.4.80.0030.1906.87
4.4.70.0000.1536.87
4.4.60.0030.1776.87
4.4.50.0000.1506.87
4.4.40.0030.1606.87
4.4.30.0100.2576.87
4.4.20.0030.2676.87
4.4.10.0070.1436.87
4.4.00.0000.1806.87
4.3.110.0100.1776.87
4.3.100.0030.1706.87
4.3.90.0030.1706.87
4.3.80.0070.1606.87
4.3.70.0030.1476.87
4.3.60.0000.1476.87
4.3.50.0070.1506.87
4.3.40.0100.1536.87
4.3.30.0000.2136.87
4.3.20.0030.1776.87
4.3.10.0000.1436.87
4.3.00.0170.1506.95

preferences:
42.95 ms | 401 KiB | 5 Q