3v4l.org

run code in 300+ PHP versions simultaneously
<?php function chrono() { $temps = explode(' ', microtime()); return $temps[0]+$temps[1]; } $debut = chrono(); for($i=0;$i>1000;$i++){ md5('vfdsgdfg'.rand(1999999999,9999999999)); } echo round(chrono()-$debut,6);

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.4.00.0070.01114.86
7.3.120.0030.01314.64
7.3.110.0000.01714.91
7.3.100.0030.01614.72
7.3.90.0040.01114.87
7.3.80.0090.00614.89
7.3.70.0070.00314.55
7.3.60.0130.00314.73
7.3.50.0090.00914.73
7.3.40.0030.01014.70
7.3.30.0060.00914.87
7.3.20.0100.00316.65
7.3.10.0090.00616.34
7.3.00.0110.00316.62
7.2.250.0090.00915.24
7.2.240.0070.01314.89
7.2.230.0130.00615.04
7.2.220.0040.01115.23
7.2.210.0090.00015.27
7.2.200.0040.00715.11
7.2.190.0090.00914.96
7.2.180.0000.01615.04
7.2.170.0070.00715.07
7.2.00.0060.00619.34
7.1.330.0130.00315.94
7.1.320.0060.00715.54
7.1.310.0070.00715.85
7.1.300.0070.00715.75
7.1.290.0060.00615.62
7.1.280.0110.00315.82
7.1.270.0040.01115.55
7.1.260.0090.00615.41
7.1.70.0030.00617.28
7.1.60.0120.00419.82
7.1.50.0000.01617.03
7.1.00.0030.06322.28
7.0.200.0190.00914.89
7.0.140.0030.07722.09
7.0.100.0770.08319.98
7.0.90.0270.07319.98
7.0.80.0570.07019.94
7.0.70.0570.08019.93
7.0.60.0170.06019.91
7.0.50.0600.07720.32
7.0.40.0100.08320.04
7.0.30.0070.06020.15
7.0.20.0030.07020.19
7.0.10.0130.07720.14
7.0.00.0100.06320.07
5.6.280.0130.06321.11
5.6.250.0100.04720.60
5.6.240.0100.07720.61
5.6.230.0130.07720.57
5.6.220.0130.07720.55
5.6.210.0030.08720.48
5.6.200.0170.07721.02
5.6.190.0100.05021.03
5.6.180.0130.08021.01
5.6.170.0000.05721.05
5.6.160.0000.08721.11
5.6.150.0130.07021.05
5.6.140.0100.07721.03
5.6.130.0170.07321.04
5.6.120.0030.07321.01
5.6.110.0130.06021.08
5.6.100.0030.07021.10
5.6.90.0070.07321.01
5.6.80.0000.08720.45
5.6.70.0000.08720.52
5.6.60.0100.07020.43
5.6.50.0030.07320.45
5.6.40.0070.07720.30
5.6.30.0000.08020.33
5.6.20.0100.06320.32
5.6.10.0070.08020.44
5.6.00.0000.04320.45
5.5.380.0030.07020.38
5.5.370.0070.07320.36
5.5.360.0130.07320.30
5.5.350.0100.07720.47
5.5.340.0070.07720.78
5.5.330.0030.08720.89
5.5.320.0170.07320.89
5.5.310.0030.06320.87
5.5.300.0000.04720.88
5.5.290.0100.07720.77
5.5.280.0070.07720.84
5.5.270.0000.08320.87
5.5.260.0070.08720.84
5.5.250.0030.08320.64
5.5.240.0100.08020.30
5.5.230.0030.08020.10
5.5.220.0070.08020.30
5.5.210.0030.07320.21
5.5.200.0070.08320.15
5.5.190.0100.06720.28
5.5.180.0170.07020.15
5.5.160.0100.07320.19
5.5.150.0100.07320.24
5.5.140.0130.03720.28
5.5.130.0000.08720.18
5.5.120.0030.07720.24
5.5.110.0130.07020.27
5.5.100.0070.07720.05
5.5.90.0100.07020.17
5.5.80.0100.07020.06
5.5.70.0200.05320.09
5.5.60.0230.05720.14
5.5.50.0100.05020.09
5.5.40.0070.08720.05
5.5.30.0230.06020.04
5.5.20.0100.07020.10
5.5.10.0100.07719.98
5.5.00.0030.08719.98
5.4.450.0030.06019.42
5.4.440.0100.08019.38
5.4.430.0030.06719.43
5.4.420.0100.04319.41
5.4.410.0100.07319.30
5.4.400.0000.07019.03
5.4.390.0100.07719.07
5.4.380.0070.07019.18
5.4.370.0130.07319.03
5.4.360.0030.08019.21
5.4.350.0070.07319.11
5.4.340.0070.07319.14
5.4.320.0130.06719.05
5.4.310.0130.06019.05
5.4.300.0030.07718.94
5.4.290.0100.06319.04
5.4.280.0130.07319.09
5.4.270.0130.06318.96
5.4.260.0070.04319.11
5.4.250.0070.07018.93
5.4.240.0130.07019.02
5.4.230.0200.08319.29
5.4.220.0000.08019.19
5.4.210.0000.07718.91
5.4.200.0000.05719.12
5.4.190.0070.07719.28
5.4.180.0030.05719.08
5.4.170.0130.07019.24
5.4.160.0100.07018.89
5.4.150.0030.07719.16
5.4.140.0100.06716.51
5.4.130.0030.08016.39
5.4.120.0030.07016.25
5.4.110.0030.07316.51
5.4.100.0000.04716.50
5.4.90.0070.06316.47
5.4.80.0100.05316.50
5.4.70.0030.04716.39
5.4.60.0130.04316.48
5.4.50.0030.07316.40
5.4.40.0030.04316.52
5.4.30.0070.05716.46
5.4.20.0030.06716.48
5.4.10.0100.07016.55
5.4.00.0030.07315.91
5.3.290.0100.07014.67
5.3.280.0130.06714.70
5.3.270.0070.06714.64
5.3.260.0130.07314.59
5.3.250.0070.07314.62
5.3.240.0070.07314.64
5.3.230.0130.07314.72
5.3.220.0130.06714.71
5.3.210.0070.07714.66
5.3.200.0070.07014.58
5.3.190.0100.07014.60
5.3.180.0030.08014.62
5.3.170.0070.07314.57
5.3.160.0070.06714.66
5.3.150.0070.07714.59
5.3.140.0070.07314.65
5.3.130.0030.08014.59
5.3.120.0030.08014.58
5.3.110.0030.07714.66
5.3.100.0100.06014.11
5.3.90.0100.07314.00
5.3.80.0130.06314.03
5.3.70.0030.06714.13
5.3.60.0170.04014.05
5.3.50.0070.07714.02
5.3.40.0030.08013.93
5.3.30.0070.07313.89
5.3.20.0070.07313.70
5.3.10.0030.04313.66
5.3.00.0070.06713.75
5.2.170.0030.06311.16
5.2.160.0000.03011.46
5.2.150.0000.06711.39
5.2.140.0100.05711.37
5.2.130.0030.03711.34
5.2.120.0030.05711.32
5.2.110.0030.05311.21
5.2.100.0070.02711.20
5.2.90.0130.05011.16
5.2.80.0000.05311.20
5.2.70.0030.06311.16
5.2.60.0000.06011.29
5.2.50.0030.04711.16
5.2.40.0070.07011.16
5.2.30.0170.02711.16
5.2.20.0030.06711.20
5.2.10.0030.06011.16
5.2.00.0030.04311.16
5.1.60.0000.04311.16
5.1.50.0030.04311.16
5.1.40.0070.04011.16
5.1.30.0000.03311.16
5.1.20.0030.05711.16
5.1.10.0070.04311.16
5.1.00.0030.04711.16
5.0.50.0070.04311.16
5.0.40.0000.03011.16
5.0.30.0030.05311.16
5.0.20.0030.02711.16
5.0.10.0030.04311.16
5.0.00.0000.06311.16
4.4.90.0000.03711.16
4.4.80.0000.02311.16
4.4.70.0030.03311.16
4.4.60.0000.02311.16
4.4.50.0030.02711.16
4.4.40.0000.02311.16
4.4.30.0030.03711.16
4.4.20.0030.01311.16
4.4.10.0000.03011.16
4.4.00.0030.04711.16
4.3.110.0000.01711.16
4.3.100.0000.02311.16
4.3.90.0000.01311.16
4.3.80.0070.03011.16
4.3.70.0000.01711.16
4.3.60.0070.02311.16
4.3.50.0000.03311.16
4.3.40.0000.05011.16
4.3.30.0000.03711.16
4.3.20.0000.03711.16
4.3.10.0000.01711.16
4.3.00.0030.03311.16

preferences:
36.77 ms | 401 KiB | 5 Q