3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace ns01 { class cl01 { const ONE = 1 +1; const ONE2 = 34 | 34; } }

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.60.0040.01116.38
8.3.50.0130.00521.94
8.3.40.0120.00618.73
8.3.30.0100.00318.97
8.3.20.0040.01120.14
8.3.10.0000.01118.53
8.3.00.0040.00419.00
8.2.180.0090.00616.32
8.2.170.0070.00722.96
8.2.160.0130.00320.57
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00721.02
8.2.110.0090.00022.20
8.2.100.0070.00417.59
8.2.90.0040.00417.78
8.2.80.0030.00517.97
8.2.70.0050.00317.38
8.2.60.0030.00617.91
8.2.50.0000.00818.07
8.2.40.0000.00818.02
8.2.30.0040.00419.47
8.2.20.0070.00017.55
8.2.10.0040.00417.85
8.2.00.0040.00417.61
8.1.280.0100.01025.92
8.1.270.0000.00922.14
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.42
8.1.230.0040.00720.89
8.1.220.0040.00417.74
8.1.210.0040.00418.82
8.1.200.0100.00317.23
8.1.190.0050.00317.23
8.1.180.0020.00518.10
8.1.170.0050.00318.50
8.1.160.0070.00021.84
8.1.150.0050.00318.82
8.1.140.0040.00417.22
8.1.130.0030.00317.67
8.1.120.0040.00417.34
8.1.110.0090.00017.31
8.1.100.0030.00517.31
8.1.90.0030.00317.20
8.1.80.0070.00017.20
8.1.70.0000.00717.24
8.1.60.0030.00617.48
8.1.50.0000.00817.39
8.1.40.0000.00717.36
8.1.30.0000.00917.46
8.1.20.0000.00717.58
8.1.10.0000.00717.27
8.1.00.0050.00317.32
8.0.300.0000.00719.92
8.0.290.0040.00416.63
8.0.280.0030.00318.21
8.0.270.0000.00717.18
8.0.260.0000.00817.02
8.0.250.0030.00316.84
8.0.240.0030.00316.71
8.0.230.0000.00716.71
8.0.220.0070.00016.77
8.0.210.0000.00716.66
8.0.200.0040.00416.79
8.0.190.0040.00416.68
8.0.180.0050.00316.66
8.0.170.0000.00716.77
8.0.160.0030.00316.77
8.0.150.0050.00216.79
8.0.140.0040.00416.70
8.0.130.0040.00413.21
8.0.120.0080.00016.62
8.0.110.0050.00316.64
8.0.100.0040.00416.63
8.0.90.0000.00716.79
8.0.80.0030.01216.74
8.0.70.0050.00316.64
8.0.60.0050.00316.58
8.0.50.0080.00016.77
8.0.30.0130.00617.04
8.0.20.0160.00517.40
8.0.10.0040.00416.82
8.0.00.0100.00716.65
7.4.330.0060.00015.03
7.4.320.0000.00616.36
7.4.300.0030.00316.39
7.4.290.0000.00716.29
7.4.280.0000.00716.25
7.4.270.0040.00416.47
7.4.260.0040.00416.49
7.4.250.0060.00316.43
7.4.240.0020.00516.40
7.4.230.0070.00016.27
7.4.220.0080.01216.50
7.4.210.0030.01716.57
7.4.200.0030.00316.39
7.4.160.0070.01016.48
7.4.150.0060.01217.40
7.4.140.0090.01117.86
7.4.130.0050.01116.39
7.4.120.0060.01116.40
7.4.110.0160.00016.34
7.4.100.0140.00316.31
7.4.90.0070.01016.32
7.4.80.0090.00919.39
7.4.70.0070.01116.28
7.4.60.0040.01116.15
7.4.50.0050.00316.20
7.4.40.0120.00816.48
7.4.30.0120.00616.45
7.4.00.0000.01514.53
7.3.330.0000.00613.03
7.3.320.0050.00013.12
7.3.310.0060.00016.19
7.3.300.0070.00016.18
7.3.290.0070.00716.11
7.3.280.0090.01016.18
7.3.270.0120.00617.40
7.3.260.0050.01716.20
7.3.250.0100.00616.31
7.3.240.0080.00816.16
7.3.230.0060.01116.39
7.3.210.0070.01116.15
7.3.200.0160.00619.39
7.3.190.0090.01316.27
7.3.180.0080.00816.28
7.3.170.0100.00716.29
7.3.160.0070.01216.38
7.2.330.0070.01016.24
7.2.320.0060.00916.46
7.2.310.0110.00516.51
7.2.300.0100.00616.34
7.2.290.0090.01116.28
7.2.00.0030.01118.82
7.1.100.0000.01417.81
7.1.70.0050.00216.65
7.1.60.0130.01019.61
7.1.50.0090.01216.67
7.1.00.0030.07722.48
7.0.200.0000.00816.62
7.0.140.0030.07322.07
7.0.60.0030.06320.01
7.0.50.0130.08017.85
7.0.40.0170.07720.10
7.0.30.0330.04720.06
7.0.20.0270.07720.09
7.0.10.0070.04020.18
7.0.00.0130.05320.08
5.6.280.0030.07321.10
5.6.210.0170.07020.70
5.6.200.0130.04718.24
5.6.190.0130.08020.61
5.6.180.0170.08320.57
5.6.170.0300.07020.51
5.6.160.0030.09020.52
5.6.150.0070.05018.29
5.6.140.0000.04718.27
5.6.130.0130.07318.29
5.6.120.0100.07720.98
5.6.110.0100.07721.00
5.6.100.0000.04320.93
5.6.90.0230.07720.84
5.6.80.0100.08020.41
5.5.350.0200.07720.37
5.5.340.0070.08017.95
5.5.330.0070.04020.29
5.5.320.0570.06020.27
5.5.310.0200.07320.28
5.5.300.0030.08717.95
5.5.290.0130.06017.98
5.5.280.0030.05320.69
5.5.270.0030.08020.76
5.5.260.0100.05320.84
5.5.250.0000.04720.55
5.5.240.0170.02720.23
5.4.450.0870.04719.64
5.4.440.0470.04319.64
5.4.430.0670.05719.55
5.4.420.0570.05319.66
5.4.410.1000.04019.37
5.4.400.0570.04719.16
5.4.390.0900.06319.23
5.4.380.0300.07718.69
5.4.370.0300.05318.73
5.4.360.0330.05718.78
5.4.350.0230.05718.46
5.4.340.0570.05718.51
5.4.320.0040.04112.51
5.4.310.0080.04812.50
5.4.300.0070.03912.51
5.4.290.0110.04312.50
5.4.280.0090.03412.40
5.4.270.0050.04112.40
5.4.260.0090.04712.40
5.4.250.0050.03812.40
5.4.240.0060.03412.40
5.4.230.0070.03712.39
5.4.220.0060.04412.39
5.4.210.0090.04412.39
5.4.200.0060.04312.39
5.4.190.0060.04512.39
5.4.180.0090.03912.39
5.4.170.0110.03312.39
5.4.160.0080.03712.39
5.4.150.0060.03912.39
5.4.140.0110.04012.08
5.4.130.0080.03712.06
5.4.120.0070.04212.03
5.4.110.0080.04312.03
5.4.100.0080.03812.02
5.4.90.0050.03912.02
5.4.80.0070.03912.02
5.4.70.0090.03512.02
5.4.60.0040.03612.02
5.4.50.0080.03312.02
5.4.40.0080.03212.01
5.4.30.0060.03612.00
5.4.20.0050.03812.00
5.4.10.0060.03412.00
5.4.00.0040.03711.50

preferences:
43.51 ms | 401 KiB | 5 Q