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,10);

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.0140.00714.98
7.3.120.0060.01314.80
7.3.110.0030.01614.87
7.3.100.0000.01814.97
7.3.90.0090.00914.75
7.3.80.0130.00315.13
7.3.70.0060.00914.63
7.3.60.0070.01014.71
7.3.50.0030.01314.83
7.3.40.0090.00614.68
7.3.30.0120.00314.82
7.3.20.0100.00616.59
7.3.10.0080.00416.77
7.3.00.0050.00716.53
7.2.250.0040.01814.83
7.2.240.0000.01615.16
7.2.230.0110.00715.31
7.2.220.0060.00914.87
7.2.210.0070.01015.07
7.2.200.0070.01015.17
7.2.190.0110.00715.02
7.2.180.0080.00615.06
7.2.170.0070.00715.01
7.2.130.0040.00816.81
7.2.120.0060.00616.82
7.2.110.0070.00317.11
7.2.100.0040.00416.79
7.2.90.0060.00316.95
7.2.80.0060.00616.96
7.2.70.0130.00016.98
7.2.60.0040.00817.01
7.2.50.0070.01017.04
7.2.40.0000.01216.80
7.2.30.0110.00316.87
7.2.20.0000.01316.79
7.2.10.0070.01016.98
7.2.00.0060.00618.19
7.1.330.0090.00615.48
7.1.320.0040.01215.71
7.1.310.0030.01015.71
7.1.300.0070.00715.82
7.1.290.0030.01315.78
7.1.280.0050.00815.52
7.1.270.0040.01415.76
7.1.260.0070.00715.64
7.1.250.0070.00715.75
7.1.70.0070.00317.32
7.1.60.0030.01419.29
7.1.50.0040.02216.66
7.1.00.0130.06722.27
7.0.200.0070.00016.85
7.0.140.0030.07022.04
7.0.60.0270.04319.88
7.0.50.0070.08717.96
7.0.40.0100.08320.14
7.0.30.0230.05020.08
7.0.20.0330.05020.06
7.0.10.0100.05020.07
7.0.00.0100.07020.14
5.6.280.0230.05720.99
5.6.210.0170.07720.57
5.6.200.0030.09018.22
5.6.190.0030.04320.58
5.6.180.0270.05720.52
5.6.170.0400.07720.50
5.6.160.0170.07320.50
5.6.150.0030.04018.23
5.6.140.0030.08318.14
5.6.130.0200.07318.30
5.6.120.0100.08321.12
5.6.110.0030.07720.98
5.6.100.0070.05721.00
5.6.90.0100.05021.11
5.6.80.0070.04020.49
5.5.350.0200.08720.41
5.5.340.0000.04318.02
5.5.330.0000.09020.27
5.5.320.0600.07320.34
5.5.310.0230.04320.38
5.5.300.0000.04317.95
5.5.290.0130.07317.95
5.5.280.0130.08020.93
5.5.270.0100.07720.88
5.5.260.0130.07720.79
5.5.250.0070.07020.50
5.5.240.0000.04320.37
5.4.450.0300.07319.47
5.4.440.0230.04019.52
5.4.430.0330.05319.46
5.4.420.0300.03719.29
5.4.410.0270.07019.34
5.4.400.0300.07718.95
5.4.390.0230.06018.96
5.4.380.0300.06719.12
5.4.370.0330.06319.17
5.4.360.0370.06319.23
5.4.350.0230.04019.22
5.4.340.0270.06719.09
5.4.320.0300.06018.93
5.4.310.0330.06319.26
5.4.300.0300.07319.29
5.4.290.0230.05318.93
5.4.280.0230.04319.14
5.4.270.0330.06018.93
5.4.260.0430.06019.25
5.4.250.0330.07018.94
5.4.240.0400.05719.21
5.4.230.0300.05319.14
5.4.220.0370.06719.11
5.4.210.0370.03019.20
5.4.200.0200.05319.05
5.4.190.0300.07018.96
5.4.180.0400.07018.96
5.4.170.0300.06719.20
5.4.160.0270.05019.10
5.4.150.0330.05719.21
5.4.140.0270.07316.52
5.4.130.0300.07316.39
5.4.120.0270.05716.59
5.4.110.0330.06716.62
5.4.100.0230.04016.30
5.4.90.0330.03016.53
5.4.80.0270.07316.29
5.4.70.0230.06716.54
5.4.60.0200.05016.51
5.4.50.0230.07716.47
5.4.40.0370.06316.52
5.4.30.0330.07016.44
5.4.20.0270.04716.48
5.4.10.0300.05016.32
5.4.00.0300.06715.81
5.3.290.0430.06314.66
5.3.280.0330.06014.67
5.3.270.0300.07314.69
5.3.260.0370.06014.67
5.3.250.0270.07014.68
5.3.240.0270.07714.58
5.3.230.0270.07714.64
5.3.220.0230.05014.55
5.3.210.0330.07014.62
5.3.200.0400.04314.66
5.3.190.0330.03714.55
5.3.180.0270.05714.57
5.3.170.0430.05314.61
5.3.160.0400.05714.73
5.3.150.0300.07014.55
5.3.140.0230.07714.64
5.3.130.0170.07014.62
5.3.120.0330.04014.64
5.3.110.0300.06714.55
5.3.100.0300.06714.03
5.3.90.0400.05714.18
5.3.80.0300.03714.04
5.3.70.0230.06714.04
5.3.60.0430.05014.05
5.3.50.0330.06014.02
5.3.40.0270.04313.88
5.3.30.0300.07314.05
5.3.20.0330.05313.73
5.3.10.0270.06013.73
5.3.00.0270.04013.66
5.2.170.0200.04311.27
5.2.160.0230.03311.27
5.2.150.0200.05311.18
5.2.140.0230.05311.43
5.2.130.0300.03711.24
5.2.120.0270.05711.29
5.2.110.0200.03711.29
5.2.100.0200.02711.24
5.2.90.0170.03011.39
5.2.80.0170.03311.32
5.2.70.0200.06711.22
5.2.60.0300.03311.27
5.2.50.0200.06311.28
5.2.40.0200.05711.21
5.2.30.0270.05311.23
5.2.20.0230.04311.16
5.2.10.0270.05310.99
5.2.00.0200.06010.98
5.1.60.0300.04010.26
5.1.50.0130.05710.26
5.1.40.0130.03010.07
5.1.30.0170.05710.46
5.1.20.0170.05310.57
5.1.10.0230.05310.14
5.1.00.0370.02310.33
5.0.50.0170.0478.73
5.0.40.0070.0478.62
5.0.30.0130.0608.47
5.0.20.0100.0478.48
5.0.10.0170.0308.39
5.0.00.0100.0378.19
4.4.90.0100.0178.05
4.4.80.0100.0378.05
4.4.70.0100.0438.05
4.4.60.0130.0408.05
4.4.50.0070.0408.05
4.4.40.0170.0478.05
4.4.30.0070.0238.05
4.4.20.0070.0208.05
4.4.10.0070.0238.05
4.4.00.0170.0278.05
4.3.110.0070.0278.05
4.3.100.0130.0208.05
4.3.90.0130.0338.05
4.3.80.0100.0578.05
4.3.70.0170.0308.05
4.3.60.0070.0408.05
4.3.50.0130.0378.05
4.3.40.0230.0238.05
4.3.30.0030.0338.05
4.3.20.0070.0308.05
4.3.10.0070.0378.05
4.3.00.0070.0338.05

preferences:
38.86 ms | 401 KiB | 5 Q