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.0030.01414.82
7.3.120.0030.01415.01
7.3.110.0050.01214.81
7.3.100.0080.00714.57
7.3.90.0060.01014.80
7.3.80.0040.00914.86
7.3.70.0020.01114.72
7.3.60.0040.00814.87
7.3.50.0070.00714.78
7.3.40.0080.00514.77
7.3.30.0070.00614.78
7.3.20.0110.00416.46
7.3.10.0090.00816.62
7.3.00.0060.00916.53
7.2.250.0060.01315.15
7.2.240.0070.01014.96
7.2.230.0050.01414.88
7.2.220.0070.00814.96
7.2.210.0080.00914.96
7.2.200.0080.00714.96
7.2.190.0030.01015.09
7.2.180.0050.00715.10
7.2.170.0090.00614.97
7.2.130.0050.00517.02
7.2.120.0090.00617.02
7.2.110.0070.00316.68
7.2.100.0060.00616.87
7.2.90.0060.00916.90
7.2.80.0100.00716.93
7.2.70.0030.01016.77
7.2.60.0120.00317.01
7.2.50.0070.01116.63
7.2.40.0090.00916.95
7.2.30.0090.01216.65
7.2.20.0000.01616.95
7.2.10.0090.00616.97
7.2.00.0090.00316.86
7.1.330.0040.01115.67
7.1.320.0070.00615.83
7.1.310.0110.00515.87
7.1.300.0080.00415.75
7.1.290.0060.00615.81
7.1.280.0030.00715.68
7.1.270.0050.00715.85
7.1.260.0070.00915.67
7.1.250.0060.00615.70
7.1.70.0000.00916.87
7.1.60.0070.01719.46
7.1.50.0130.01016.92
7.1.00.0030.07722.37
7.0.200.0050.00216.49
7.0.140.0030.07322.10
7.0.70.0070.08719.98
7.0.60.0130.08020.07
7.0.50.0000.05020.23
7.0.40.0100.04020.03
7.0.30.0070.05720.09
7.0.20.0030.04320.14
7.0.10.0070.04020.13
7.0.00.0100.03720.09
5.6.280.0100.06721.04
5.6.220.0170.05720.66
5.6.210.0070.08320.67
5.6.200.0070.05721.05
5.6.190.0030.08021.01
5.6.180.0100.03721.09
5.6.170.0030.04321.09
5.6.160.0030.04321.08
5.6.150.0000.04321.03
5.6.140.0100.05021.04
5.6.130.0070.04021.17
5.6.120.0100.08321.06
5.6.110.0030.05721.04
5.6.100.0030.05021.04
5.6.90.0070.04021.16
5.6.80.0000.04720.47
5.6.70.0030.08720.34
5.6.60.0000.04320.39
5.6.50.0070.03720.47
5.6.40.0030.05020.30
5.6.30.0030.04020.49
5.6.20.0130.03320.40
5.6.10.0070.03720.29
5.6.00.0070.03720.28
5.5.360.0070.08720.41
5.5.350.0100.05720.43
5.5.340.0070.05320.80
5.5.330.0130.03320.84
5.5.320.0030.04020.92
5.5.310.0100.03320.92
5.5.300.0070.03720.83
5.5.290.0000.07020.92
5.5.280.0070.04320.80
5.5.270.0070.07320.81
5.5.260.0000.06720.77
5.5.250.0030.04720.64
5.5.240.0070.04020.19
5.5.230.0070.06320.18
5.5.220.0070.03720.29
5.5.210.0130.04720.24
5.5.200.0030.04720.25
5.5.190.0000.06020.25
5.5.180.0070.06020.27
5.5.160.0100.03320.06
5.5.150.0130.06020.23
5.5.140.0100.03320.11
5.5.130.0000.04320.17
5.5.120.0030.04020.27
5.5.110.0100.04720.11
5.5.100.0100.04020.19
5.5.90.0030.03720.16
5.5.80.0030.06320.15
5.5.70.0070.03719.96
5.5.60.0030.04019.93
5.5.50.0000.04320.16
5.5.40.0100.03320.05
5.5.30.0100.03319.93
5.5.20.0070.03720.14
5.5.10.0100.03720.13
5.5.00.0070.08019.98
5.4.450.0130.07319.54
5.4.440.0030.05319.26
5.4.430.0030.06719.50
5.4.420.0030.04019.23
5.4.410.0030.04319.20
5.4.400.0030.04019.21
5.4.390.0100.06719.11
5.4.380.0030.04019.01
5.4.370.0030.04019.29
5.4.360.0000.07019.19
5.4.350.0030.04018.98
5.4.340.0000.04318.95
5.4.320.0100.06019.09
5.4.310.0100.04719.04
5.4.300.0070.03718.98
5.4.290.0030.05319.11
5.4.280.0000.04319.22
5.4.270.0100.03319.16
5.4.260.0070.03319.22
5.4.250.0070.03319.08
5.4.240.0070.04319.29
5.4.230.0030.04019.18
5.4.220.0030.03719.20
5.4.210.0070.03718.96
5.4.200.0070.03719.10
5.4.190.0000.04018.96
5.4.180.0100.03319.03
5.4.170.0130.07019.14
5.4.160.0030.05719.27
5.4.150.0030.07319.11
5.4.140.0030.07316.41
5.4.130.0070.07016.41
5.4.120.0100.07016.39
5.4.110.0030.06316.47
5.4.100.0130.05716.50
5.4.90.0130.05016.32
5.4.80.0070.05316.45
5.4.70.0100.07716.47
5.4.60.0030.07016.24
5.4.50.0170.07316.47
5.4.40.0030.07316.51
5.4.30.0170.07016.45
5.4.20.0030.05716.46
5.4.10.0130.07016.38
5.4.00.0070.07315.91
5.3.290.0100.03314.66
5.3.280.0030.04014.71
5.3.270.0030.04714.74
5.3.260.0170.07014.62
5.3.250.0070.07714.71
5.3.240.0100.07714.63
5.3.230.0070.07314.69
5.3.220.0100.03714.68
5.3.210.0100.08014.66
5.3.200.0100.07014.68
5.3.190.0070.08014.60
5.3.180.0100.08014.65
5.3.170.0030.04014.67
5.3.160.0100.06714.68
5.3.150.0130.06714.60
5.3.140.0070.05314.67
5.3.130.0070.06314.58
5.3.120.0100.07014.55
5.3.110.0070.07714.64
5.3.100.0100.07314.04
5.3.90.0030.08314.05
5.3.80.0000.07714.12
5.3.70.0030.05714.05
5.3.60.0070.04713.93
5.3.50.0100.06714.05
5.3.40.0130.07014.01
5.3.30.0070.04013.92
5.3.20.0070.05313.74
5.3.10.0100.03713.68
5.3.00.0000.04313.77
5.2.170.0070.05012.38
5.2.160.0030.06312.38
5.2.150.0170.03312.38
5.2.140.0070.04712.38
5.2.130.0100.04712.38
5.2.120.0070.03312.38
5.2.110.0030.03312.38
5.2.100.0130.05712.38
5.2.90.0070.06012.38
5.2.80.0100.06012.38
5.2.70.0000.07012.38
5.2.60.0000.07012.38
5.2.50.0100.05712.38
5.2.40.0070.05012.38
5.2.30.0030.05312.38
5.2.20.0070.06012.38
5.2.10.0230.04712.38
5.2.00.0170.05312.38
5.1.60.0000.06012.38
5.1.50.0070.05312.38
5.1.40.0000.04712.38
5.1.30.0100.05712.38
5.1.20.0070.04712.38
5.1.10.0070.03312.38
5.1.00.0030.05712.38
5.0.50.0000.03012.38
5.0.40.0070.04312.38
5.0.30.0000.06712.38
5.0.20.0070.03312.38
5.0.10.0030.04312.38
5.0.00.0030.06712.38
4.4.90.0000.03312.38
4.4.80.0000.03712.38
4.4.70.0070.02312.38
4.4.60.0000.03712.38
4.4.50.0000.02712.38
4.4.40.0000.05712.38
4.4.30.0000.03712.38
4.4.20.0000.03712.38
4.4.10.0030.02712.38
4.4.00.0000.05012.38
4.3.110.0000.03312.38
4.3.100.0000.03712.38
4.3.90.0000.03012.38
4.3.80.0000.05312.38
4.3.70.0030.03012.38
4.3.60.0030.03312.38
4.3.50.0000.02712.38
4.3.40.0000.05012.38
4.3.30.0030.03712.38
4.3.20.0030.03012.38
4.3.10.0000.03712.38
4.3.00.0000.04012.38

preferences:
38.85 ms | 401 KiB | 5 Q