3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time_start = microtime(true); echo "time_start in $time_start seconds\n"; // 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)
7.3.10.0050.00716.56
7.3.00.0000.01316.40
7.2.130.0060.01116.64
7.2.120.0090.00616.45
7.2.110.0060.00816.83
7.2.100.0080.01016.62
7.2.90.0040.01116.86
7.2.80.0100.00516.71
7.2.70.0220.01016.65
7.2.60.0030.01016.64
7.2.50.0110.00616.91
7.2.40.0090.01316.81
7.2.30.0100.00716.82
7.2.20.0220.00016.86
7.2.10.0050.00516.84
7.2.00.0070.00917.97
7.1.250.0090.00615.61
7.1.70.0000.00716.86
7.1.60.0120.00819.82
7.1.50.0100.00716.72
7.1.00.0070.07322.50
7.0.200.0140.00316.51
7.0.140.0070.07021.98
7.0.60.0130.04019.86
7.0.50.0030.07717.79
7.0.40.0100.08319.90
7.0.30.0400.07020.20
7.0.20.0100.04720.09
7.0.10.0270.05320.18
7.0.00.0130.08020.13
5.6.280.0130.06321.02
5.6.210.0100.06020.64
5.6.200.0030.04318.18
5.6.190.0200.04320.46
5.6.180.3100.05020.40
5.6.170.0230.05320.71
5.6.160.0070.06320.33
5.6.150.0100.08018.18
5.6.140.0000.06318.09
5.6.130.0100.07018.12
5.6.120.0070.08720.98
5.6.110.0130.06721.08
5.6.100.0100.06720.88
5.6.90.0070.03721.12
5.6.80.0130.05720.38
5.6.70.0130.04020.36
5.5.350.0030.04320.38
5.5.340.0070.03717.88
5.5.330.0030.04020.40
5.5.320.0170.07320.18
5.5.310.0200.08020.27
5.5.300.0070.08318.01
5.5.290.0130.07717.91
5.5.280.0100.08320.77
5.5.270.0070.08720.78
5.5.260.0070.08020.75
5.5.250.0070.08020.48
5.5.240.0130.06020.26
5.4.450.0630.06019.59
5.4.440.0530.04719.45
5.4.430.0130.05319.46
5.4.420.0100.05319.46
5.4.410.0130.05019.25
5.4.400.0900.00018.81
5.4.390.0830.00018.78
5.4.380.0230.06718.72
5.4.370.0970.05018.64
5.4.360.0300.05018.78
5.4.350.0230.06018.69
5.4.340.0300.05718.48
5.4.320.0090.03312.46
5.4.310.0080.03612.45
5.4.300.0070.04412.46
5.4.290.0090.04212.45
5.4.280.0030.04312.35
5.4.270.0130.06319.00
5.4.260.0100.05018.80
5.4.250.0100.05018.77
5.4.240.0130.07318.88
5.4.230.0170.06718.88
5.4.220.0070.05718.70
5.4.210.0070.05318.89
5.4.200.0130.04718.74
5.4.190.0200.04018.91
5.4.180.0100.05018.64
5.4.170.0030.07718.70
5.4.160.0170.06318.86
5.4.150.0100.05318.86
5.4.140.0070.06016.44
5.4.130.0070.05016.52
5.4.120.0130.04716.24
5.4.110.0070.05316.36
5.4.100.0070.06016.50
5.4.90.0000.05716.45
5.4.80.0000.05316.34
5.4.70.0130.06316.24
5.4.60.0100.06716.48
5.4.50.0100.05316.23
5.4.40.0170.04016.45
5.4.30.0070.06016.47
5.4.20.0070.05016.32
5.4.10.0170.05016.31
5.4.00.0030.05715.87
5.3.290.0050.04712.80
5.3.280.0070.06714.49
5.3.270.0230.04014.65
5.3.260.0100.05014.46
5.3.250.0070.07714.70
5.3.240.0030.07014.62
5.3.230.0130.04714.46
5.3.220.0100.04714.27
5.3.210.0100.05014.56
5.3.200.0030.05014.57
5.3.190.0070.05314.58
5.3.180.0030.05314.41
5.3.170.0070.04714.71
5.3.160.0130.04314.35
5.3.150.0070.06014.61
5.3.140.0070.07314.42
5.3.130.0070.05714.56
5.3.120.0130.07014.40
5.3.110.0000.07314.43
5.3.100.0100.06714.02
5.3.90.0070.05014.12
5.3.80.0130.04313.93
5.3.70.0100.05714.06
5.3.60.0070.06714.04
5.3.50.0100.06013.80
5.3.40.0070.06013.95
5.3.30.0100.06713.61
5.3.20.0170.03713.84
5.3.10.0030.05313.66
5.3.00.0070.05713.48
5.2.170.0100.03711.24
5.2.160.0070.04011.02
5.2.150.0170.04711.07
5.2.140.0070.04711.20
5.2.130.0100.04311.19
5.2.120.0030.04011.03
5.2.110.0100.03711.12
5.2.100.0170.02711.03
5.2.90.0170.03011.01
5.2.80.0100.04011.10
5.2.70.0170.04710.93
5.2.60.0070.04011.03
5.2.50.0070.04710.94
5.2.40.0130.04711.02
5.2.30.0070.03710.89
5.2.20.0070.03710.99
5.2.10.0170.04710.75
5.2.00.0070.04010.87
5.1.60.0030.03310.08
5.1.50.0070.0339.98
5.1.40.0100.02710.07
5.1.30.0030.04010.17
5.1.20.0070.05010.33
5.1.10.0070.03310.15
5.1.00.0130.02710.03
5.0.50.0030.0308.62
5.0.40.0030.0408.38
5.0.30.0070.0408.05
5.0.20.0070.0238.25
5.0.10.0100.0238.13
5.0.00.0070.0408.19
4.4.90.0070.0206.85
4.4.80.0070.0206.85
4.4.70.0000.0236.85
4.4.60.0000.0236.85
4.4.50.0000.0236.85
4.4.40.0030.0336.85
4.4.30.0100.0206.85
4.4.20.0070.0276.85
4.4.10.0100.0236.85
4.4.00.0070.0336.85
4.3.110.0030.0236.85
4.3.100.0030.0306.85
4.3.90.0030.0206.85
4.3.80.0000.0376.85
4.3.70.0070.0176.85
4.3.60.0000.0336.85
4.3.50.0030.0236.85
4.3.40.0030.0306.85
4.3.30.0000.0306.85
4.3.20.0000.0276.85
4.3.10.0000.0236.85
4.3.00.0100.0237.39

preferences:
42.32 ms | 401 KiB | 5 Q