3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time_start = microtime(true); // Sleep for a while usleep(1000); $time_end = microtime(true); $time = $time_end - $time_start; echo "Did nothing in $time seconds\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)
8.3.00.0130.00828.09
7.4.00.0080.00814.63
7.3.120.0060.00914.69
7.3.110.0120.00614.93
7.3.100.0090.00615.00
7.3.90.0070.01314.62
7.3.80.0120.00314.72
7.3.70.0040.00814.52
7.3.60.0000.00814.80
7.3.50.0030.01314.69
7.3.40.0080.00414.70
7.3.30.0080.00414.49
7.3.20.0000.01316.67
7.3.10.0090.00616.54
7.3.00.0040.01116.79
7.2.250.0170.00315.19
7.2.240.0060.01214.92
7.2.230.0060.00615.05
7.2.220.0000.01214.93
7.2.210.0070.00714.83
7.2.200.0060.00914.85
7.2.190.0060.00915.10
7.2.180.0000.01514.63
7.2.170.0030.01214.91
7.2.00.0060.00319.08
7.1.330.0030.01115.73
7.1.320.0090.00315.75
7.1.310.0050.01015.68
7.1.300.0100.00515.84
7.1.290.0050.01115.94
7.1.280.0070.00215.55
7.1.270.0050.00515.75
7.1.260.0060.01015.67
7.1.70.0080.00017.29
7.1.60.0090.01519.82
7.1.50.0080.00516.87
7.1.00.0070.07022.45
7.0.330.0160.00014.97
7.0.200.0040.00816.68
7.0.140.0100.06722.11
7.0.60.0070.08019.94
7.0.50.0000.05717.87
7.0.40.0030.06720.26
7.0.30.0370.04020.02
7.0.20.0270.05020.12
7.0.10.0330.06720.16
7.0.00.0100.06320.20
5.6.280.0070.07021.07
5.6.210.0100.07720.63
5.6.200.0000.04318.18
5.6.190.0130.07720.54
5.6.180.3230.04720.27
5.6.170.0200.06020.48
5.6.160.0200.07020.51
5.6.150.0100.07718.12
5.6.140.0030.08718.18
5.6.130.0000.07018.14
5.6.120.0130.06721.01
5.6.110.0030.07720.97
5.6.100.0000.06021.03
5.6.90.0070.03721.11
5.6.80.0000.06020.35
5.6.70.0130.03320.41
5.5.350.0070.03720.41
5.5.340.0070.04018.02
5.5.330.0030.04020.57
5.5.320.0130.05320.41
5.5.310.0330.07320.41
5.5.300.0030.08717.98
5.5.290.0100.05718.04
5.5.280.0100.04720.76
5.5.270.0070.04720.95
5.5.260.0070.04020.75
5.5.250.0070.06320.70
5.5.240.0100.05320.18
5.4.450.0500.06319.59
5.4.440.0700.05019.61
5.4.430.0170.04719.31
5.4.420.0270.05719.63
5.4.410.0130.04719.37
5.4.400.1100.00018.68
5.4.390.0870.00018.50
5.4.380.0300.05018.73
5.4.370.0300.05318.71
5.4.360.0300.05318.68
5.4.350.0400.07018.68
5.4.340.0300.05718.72
5.4.320.0050.04112.45
5.4.310.0040.04312.45
5.4.300.0050.03612.45
5.4.290.0050.04112.45
5.4.280.0090.03112.35
5.4.270.0030.06018.84
5.4.260.0100.05018.73
5.4.250.0030.06018.95
5.4.240.0170.05318.60
5.4.230.0070.05718.80
5.4.220.0100.07018.98
5.4.210.0130.05018.73
5.4.200.0200.06318.98
5.4.190.0200.06318.85
5.4.180.0070.05018.64
5.4.170.0100.06018.71
5.4.160.0130.05718.59
5.4.150.0130.07018.82
5.4.140.0100.07016.46
5.4.130.0100.04316.26
5.4.120.0130.06316.23
5.4.110.0100.06316.45
5.4.100.0100.06316.30
5.4.90.0030.05316.37
5.4.80.0200.04716.30
5.4.70.0130.05716.13
5.4.60.0100.06316.34
5.4.50.0030.05716.42
5.4.40.0200.05316.14
5.4.30.0070.05016.19
5.4.20.0070.06716.38
5.4.10.0070.05716.34
5.4.00.0130.06315.73
5.3.290.0100.04412.80
5.3.280.0030.05314.29
5.3.270.0100.05314.62
5.3.260.0130.07314.52
5.3.250.0070.05014.43
5.3.240.0070.05014.60
5.3.230.0200.05014.60
5.3.220.0170.05314.45
5.3.210.0170.04314.58
5.3.200.0070.05314.56
5.3.190.0030.05314.55
5.3.180.0070.07014.44
5.3.170.0130.04314.57
5.3.160.0030.05314.41
5.3.150.0100.06014.57
5.3.140.0130.05314.42
5.3.130.0070.06714.24
5.3.120.0070.05314.56
5.3.110.0130.05314.56
5.3.100.0100.04714.05
5.3.90.0100.04713.87
5.3.80.0170.05314.03
5.3.70.0170.03714.06
5.3.60.0070.05313.88
5.3.50.0100.04713.83
5.3.40.0070.04713.89
5.3.30.0000.05313.76
5.3.20.0130.04313.84
5.3.10.0070.04713.51
5.3.00.0070.04713.68
5.2.170.0030.04311.25
5.2.160.0000.04711.14
5.2.150.0100.05711.13
5.2.140.0070.04711.14
5.2.130.0170.04311.20
5.2.120.0070.04711.10
5.2.110.0100.04010.98
5.2.100.0030.06011.11
5.2.90.0070.04011.25
5.2.80.0100.03311.11
5.2.70.0100.04310.97
5.2.60.0000.04310.81
5.2.50.0000.04711.02
5.2.40.0100.03310.93
5.2.30.0070.05311.08
5.2.20.0100.05010.95
5.2.10.0070.05011.04
5.2.00.0100.04010.77
5.1.60.0030.03310.18
5.1.50.0070.03010.05
5.1.40.0030.0509.95
5.1.30.0170.03710.50
5.1.20.0000.05310.41
5.1.10.0030.03710.06
5.1.00.0130.03310.12
5.0.50.0070.0238.53
5.0.40.0070.0238.49
5.0.30.0000.0438.18
5.0.20.0100.0238.14
5.0.10.0030.0278.13
5.0.00.0100.0338.07
4.4.90.0000.0336.83
4.4.80.0000.0336.83
4.4.70.0070.0206.83
4.4.60.0000.0236.83
4.4.50.0100.0176.83
4.4.40.0000.0376.83
4.4.30.0030.0206.83
4.4.20.0070.0176.83
4.4.10.0030.0306.83
4.4.00.0030.0336.83
4.3.110.0000.0336.83
4.3.100.0030.0276.83
4.3.90.0100.0106.83
4.3.80.0070.0406.83
4.3.70.0000.0306.83
4.3.60.0000.0236.83
4.3.50.0030.0236.83
4.3.40.0030.0376.83
4.3.30.0030.0206.83
4.3.20.0030.0206.83
4.3.10.0030.0206.83
4.3.00.0070.0207.39

preferences:
40.5 ms | 401 KiB | 5 Q