3v4l.org

run code in 300+ PHP versions simultaneously
<?php function tinms(){ return round(microtime(true) * 1000); } $start = explode(" | ", "1402255803676 | 10,494 | 117 ")[0]; $end = tinms(); echo $end - $start; ?>

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.2.00.0030.01019.59
7.1.70.0040.00417.29
7.1.60.0070.01019.46
7.1.50.0220.01334.84
7.1.00.0000.08022.43
7.0.200.0240.00314.36
7.0.140.0000.07722.15
7.0.60.0100.04719.98
7.0.50.0070.04017.86
7.0.40.0030.07320.24
7.0.30.0300.07720.23
7.0.20.0300.05020.15
7.0.10.0070.04020.26
7.0.00.0070.08020.10
5.6.280.0030.07021.08
5.6.210.0170.07320.71
5.6.200.0000.04318.25
5.6.190.0070.05320.42
5.6.180.0400.04720.63
5.6.170.0270.05020.50
5.6.160.0170.05720.71
5.6.150.0130.07718.14
5.6.140.0030.05018.18
5.6.130.0100.05018.24
5.6.120.0130.07320.99
5.6.110.0100.06720.89
5.6.100.0130.03020.99
5.6.90.0130.03320.95
5.6.80.0000.04020.29
5.5.350.4230.03720.41
5.5.340.0100.05717.95
5.5.330.0070.07020.19
5.5.320.3030.04020.37
5.5.310.0270.08020.27
5.5.300.0000.07717.96
5.5.290.0030.04318.07
5.5.280.0030.04020.68
5.5.270.0030.04320.76
5.5.260.0270.06320.80
5.5.250.0030.04320.47
5.5.240.0000.08020.16
5.4.450.0600.06319.77
5.4.440.0070.06319.45
5.4.430.0070.05719.62
5.4.420.0070.06019.38
5.4.410.0100.05319.57
5.4.400.0130.04719.33
5.4.390.0230.04019.06
5.4.380.0200.06018.74
5.4.370.0930.05718.52
5.4.360.0370.04718.50
5.4.350.0230.05718.73
5.4.340.0270.05018.63
5.4.320.0070.04212.51
5.4.310.0080.03912.50
5.4.300.0060.04112.50
5.4.290.0100.06912.49
5.4.280.0110.05412.39
5.4.270.0110.05112.38
5.4.260.0060.05612.39
5.4.250.0090.05312.39
5.4.240.0150.05812.39
5.4.230.0120.04812.38
5.4.220.0060.04812.38
5.4.210.0070.03512.38
5.4.200.0100.03512.38
5.4.190.0060.04112.38
5.4.180.0100.04112.37
5.4.170.0070.03512.38
5.4.160.0060.03712.38
5.4.150.0070.03912.38
5.4.140.0080.03612.05
5.4.130.0080.03312.05
5.4.120.0070.03512.00
5.4.110.0050.03712.00
5.4.100.0040.03812.00
5.4.90.0050.03912.00
5.4.80.0060.03912.00
5.4.70.0040.03812.00
5.4.60.0090.03312.00
5.4.50.0060.04312.00
5.4.40.0030.03711.99
5.4.30.0040.04811.98
5.4.20.0120.04611.98
5.4.10.0050.04911.98
5.4.00.0070.03611.47
5.3.290.0070.04012.80
5.3.280.0070.03812.71
5.3.270.0060.04712.72
5.3.260.0080.03812.72
5.3.250.0030.04012.72
5.3.240.0070.04112.72
5.3.230.0070.03512.71
5.3.220.0040.03912.68
5.3.210.0060.03912.68
5.3.200.0050.03712.68
5.3.190.0070.03712.68
5.3.180.0060.03612.67
5.3.170.0100.04212.67
5.3.160.0060.05412.68
5.3.150.0080.05412.67
5.3.140.0090.05312.66
5.3.130.0080.05112.66
5.3.120.0160.06212.66
5.3.110.0090.05112.66
5.3.100.0090.05012.13
5.3.90.0070.05412.10
5.3.80.0060.05212.09
5.3.70.0080.04912.09
5.3.60.0050.03712.07
5.3.50.0070.03712.02
5.3.40.0050.03912.02
5.3.30.0040.03611.98
5.3.20.0060.03511.77
5.3.10.0090.03811.73
5.3.00.0070.03611.71
5.2.170.0080.0299.21
5.2.160.0080.0279.21
5.2.150.0090.0349.22
5.2.140.0060.0419.21
5.2.130.0060.0419.18
5.2.120.0040.0349.18
5.2.110.0050.0299.18
5.2.100.0030.0329.18
5.2.90.0040.0309.18
5.2.80.0070.0289.17
5.2.70.0080.0279.17
5.2.60.0050.0309.13
5.2.50.0090.0269.10
5.2.40.0060.0289.07
5.2.30.0050.0309.05
5.2.20.0100.0349.04
5.2.10.0100.0348.94
5.2.00.0050.0418.81
5.1.60.0080.0318.08
5.1.50.0070.0358.08
5.1.40.0110.0398.06
5.1.30.0060.0378.42
5.1.20.0070.0378.44
5.1.10.0050.0368.16
5.1.00.0060.0388.16
5.0.50.0060.0286.64
5.0.40.0050.0276.50
5.0.30.0070.0536.31
5.0.20.0090.0226.28
5.0.10.0040.0216.26
5.0.00.0080.0306.25
4.4.90.0060.0214.78
4.4.80.0050.0224.75
4.4.70.0050.0214.75
4.4.60.0050.0214.75
4.4.50.0080.0234.77
4.4.40.0030.0364.71
4.4.30.0040.0244.76
4.4.20.0050.0224.85
4.4.10.0050.0224.85
4.4.00.0040.0264.76
4.3.110.0050.0224.66
4.3.100.0020.0214.66
4.3.90.0020.0164.63
4.3.80.0070.0444.58
4.3.70.0020.0174.63
4.3.60.0020.0154.63
4.3.50.0040.0174.63
4.3.40.0040.0304.54
4.3.30.0030.0183.30
4.3.20.0040.0183.27
4.3.10.0050.0173.24
4.3.00.0130.0178.16

preferences:
30.1 ms | 401 KiB | 5 Q