3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A\B { new \A\B\C\D(); new A\B\C\D(); } namespace A\B\C { class D { } }

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.40.0110.00718.82
8.3.30.0100.00319.15
8.3.20.0000.00720.21
8.3.10.0000.00821.69
8.3.00.0080.00017.78
8.2.170.0140.00022.96
8.2.160.0100.00720.52
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.92
8.2.110.0040.00422.29
8.2.100.0060.00619.64
8.2.90.0000.00819.05
8.2.80.0090.00317.97
8.2.70.0080.00317.60
8.2.60.0090.00017.93
8.2.50.0030.00618.07
8.2.40.0040.00418.02
8.2.30.0040.00418.04
8.2.20.0040.00417.70
8.2.10.0050.00317.97
8.2.00.0040.00417.66
8.1.270.0120.00423.96
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0090.00018.55
8.1.230.0070.00419.10
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0000.00818.41
8.1.160.0040.00421.85
8.1.150.0000.00718.81
8.1.140.0050.00217.22
8.1.130.0000.00717.69
8.1.120.0050.00217.30
8.1.110.0040.00417.35
8.1.100.0050.00217.29
8.1.90.0040.00417.28
8.1.80.0030.00317.34
8.1.70.0080.00017.19
8.1.60.0000.00817.48
8.1.50.0040.00417.40
8.1.40.0000.00817.32
8.1.30.0000.00817.51
8.1.20.0040.00417.52
8.1.10.0030.00617.52
8.1.00.0050.00217.32
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.28
8.0.270.0000.00717.16
8.0.260.0060.00017.20
8.0.250.0000.00716.95
8.0.240.0040.00416.86
8.0.230.0040.00416.88
8.0.220.0030.00316.94
8.0.210.0030.00316.75
8.0.200.0030.00716.86
8.0.190.0040.00416.98
8.0.180.0000.00716.86
8.0.170.0080.00016.91
8.0.160.0030.00516.82
8.0.150.0000.00716.83
8.0.140.0000.00716.86
8.0.130.0050.00013.26
8.0.120.0070.00316.83
8.0.110.0030.00716.84
8.0.100.0000.00816.92
8.0.90.0000.00716.78
8.0.80.0110.00416.85
8.0.70.0070.00016.83
8.0.60.0040.00416.94
8.0.50.0040.00416.73
8.0.30.0060.01216.93
8.0.20.0100.01317.40
8.0.10.0070.00016.98
8.0.00.0100.00616.56
7.4.330.0030.00315.03
7.4.320.0000.00616.43
7.4.300.0000.00816.43
7.4.290.0000.00716.56
7.4.280.0070.00016.49
7.4.270.0000.00716.43
7.4.260.0000.00816.40
7.4.250.0030.00316.40
7.4.240.0030.00316.53
7.4.230.0000.00716.50
7.4.220.0160.00316.64
7.4.210.0040.00916.37
7.4.200.0040.00416.31
7.4.160.0000.01516.50
7.4.150.0150.00317.40
7.4.140.0090.01217.86
7.4.130.0090.01316.38
7.4.120.0070.01016.54
7.4.110.0070.01116.37
7.4.100.0100.01016.54
7.4.90.0150.00316.36
7.4.80.0110.00719.39
7.4.70.0160.00316.53
7.4.60.0160.00616.47
7.4.50.0040.00416.24
7.4.40.0030.01316.44
7.4.30.0090.00716.48
7.4.00.0120.00315.04
7.3.330.0000.00613.24
7.3.320.0060.00013.24
7.3.310.0000.00816.31
7.3.300.0030.00316.15
7.3.290.0070.00716.31
7.3.280.0120.01016.26
7.3.270.0040.01217.40
7.3.260.0140.00316.30
7.3.240.0030.01316.25
7.3.230.0160.00616.39
7.3.210.0040.01816.24
7.3.200.0090.00819.39
7.3.190.0160.00616.32
7.3.180.0030.01516.40
7.3.170.0070.00716.34
7.3.160.0060.00916.48
7.3.120.0060.00914.77
7.3.10.0060.00916.42
7.3.00.0070.00316.48
7.2.330.0070.01616.48
7.2.320.0030.01416.52
7.2.310.0070.01016.51
7.2.300.0090.00916.52
7.2.290.0070.01016.33
7.2.130.0090.00916.40
7.2.120.0100.00716.29
7.2.110.0110.00416.51
7.2.100.0090.00916.70
7.2.90.0050.00516.79
7.2.80.0040.00816.76
7.2.70.0070.00716.69
7.2.60.0030.01016.71
7.2.50.0060.00316.85
7.2.40.0000.01316.73
7.2.30.0060.00616.87
7.2.20.0150.00216.84
7.2.10.0060.00616.65
7.2.00.0050.00717.93
7.1.250.0090.00415.21
7.1.200.0090.00315.57
7.1.100.0000.01317.69
7.1.70.0040.00417.00
7.1.60.0110.01419.25
7.1.50.0140.00016.98
7.1.00.0070.07022.54
7.0.200.0040.00416.63
7.0.140.0030.07322.15
7.0.60.0000.09319.77
7.0.50.0030.08317.83
7.0.40.0070.05319.98
7.0.30.0170.04720.30
7.0.20.0470.03720.16
7.0.10.0070.04020.09
7.0.00.0070.07720.23
5.6.280.0100.06020.82
5.6.210.0070.03720.52
5.6.200.0070.07018.19
5.6.190.0100.08720.77
5.6.180.0330.05020.39
5.6.170.0230.04320.48
5.6.160.0030.04320.54
5.6.150.0070.03718.25
5.6.140.0170.06318.18
5.6.130.0000.05318.27
5.6.120.0070.08321.14
5.6.110.0100.08321.13
5.6.100.0030.08020.98
5.6.90.0070.05021.11
5.6.80.0070.06020.39
5.5.350.4130.04020.41
5.5.340.0100.06317.99
5.5.330.0070.05720.27
5.5.320.0230.08020.28
5.5.310.0130.04720.30
5.5.300.0030.04717.93
5.5.290.0100.04717.98
5.5.280.0070.08020.89
5.5.270.0030.06020.75
5.5.260.0070.08320.75
5.5.250.0130.07720.57
5.5.240.0030.04020.00
5.4.450.0300.03719.52
5.4.440.0370.04319.16
5.4.430.0170.05019.54
5.4.420.0270.03319.48
5.4.410.0230.03719.36
5.4.400.0200.03719.15
5.4.390.0500.04719.10
5.4.380.0170.05318.64
5.4.370.0230.05018.63
5.4.360.0100.05718.73
5.4.350.0100.06318.77
5.4.340.0230.04318.63
5.4.320.0050.03812.49
5.4.310.0080.05012.49
5.4.300.0080.04912.50
5.4.290.0110.06312.49
5.4.280.0150.08112.38
5.4.270.0100.04912.38
5.4.260.0090.05112.38
5.4.250.0090.04612.39
5.4.240.0270.07512.39
5.4.230.0170.04812.38
5.4.220.0130.06312.38
5.4.210.0080.04612.38
5.4.200.0080.04612.38
5.4.190.0110.05012.37
5.4.180.0120.04112.38
5.4.170.0070.04412.39
5.4.160.0040.03812.38
5.4.150.0070.03912.38
5.4.140.0050.03812.06
5.4.130.0040.03712.05
5.4.120.0060.03512.01
5.4.110.0090.03212.00
5.4.100.0060.04312.00
5.4.90.0030.05012.00
5.4.80.0070.04112.00
5.4.70.0050.03912.00
5.4.60.0040.04112.00
5.4.50.0030.04412.00
5.4.40.0050.04411.99
5.4.30.0070.03511.99
5.4.20.0060.03811.98
5.4.10.0060.03911.98
5.4.00.0050.03711.47
5.3.290.0100.03912.80
5.3.280.0060.03812.71
5.3.270.0110.03712.72
5.3.260.0090.03812.72
5.3.250.0060.03912.72
5.3.240.0050.03712.72
5.3.230.0070.04212.71
5.3.220.0060.03612.68
5.3.210.0050.04012.68
5.3.200.0060.03812.68
5.3.190.0090.04212.68
5.3.180.0060.03912.67
5.3.170.0060.03612.67
5.3.160.0040.03812.68
5.3.150.0040.03912.67
5.3.140.0070.03512.66
5.3.130.0040.04212.66
5.3.120.0090.03612.66
5.3.110.0060.04012.66
5.3.100.0060.04112.12
5.3.90.0060.03812.11
5.3.80.0040.03712.10
5.3.70.0060.03512.10
5.3.60.0040.03912.08
5.3.50.0050.03712.03
5.3.40.0050.03612.03
5.3.30.0040.03511.99
5.3.20.0050.03511.77
5.3.10.0070.03611.73
5.3.00.0080.03711.73
5.2.170.0070.0319.18
5.2.160.0040.0299.18
5.2.150.0030.0399.18
5.2.140.0020.0349.18
5.2.130.0060.0289.14
5.2.120.0050.0319.13
5.2.110.0020.0319.14
5.2.100.0020.0339.14
5.2.90.0030.0329.14
5.2.80.0060.0369.14
5.2.70.0030.0339.14
5.2.60.0080.0369.09
5.2.50.0060.0329.06
5.2.40.0060.0289.03
5.2.30.0040.0319.02
5.2.20.0060.0329.00
5.2.10.0040.0308.93
5.2.00.0060.0298.78
5.1.60.0050.0328.07
5.1.50.0060.0228.06
5.1.40.0020.0258.05
5.1.30.0050.0258.40
5.1.20.0050.0278.41
5.1.10.0030.0258.14
5.1.00.0040.0268.14
5.0.50.0060.0176.63
5.0.40.0060.0256.48
5.0.30.0050.0386.29
5.0.20.0010.0216.26
5.0.10.0030.0206.24
5.0.00.0040.0306.23
4.4.90.0030.0174.78
4.4.80.0000.0184.75
4.4.70.0010.0174.76
4.4.60.0020.0194.75
4.4.50.0030.0154.77
4.4.40.0070.0274.71
4.4.30.0040.0204.76
4.4.20.0010.0204.84
4.4.10.0030.0184.85
4.4.00.0010.0274.76
4.3.110.0030.0224.67
4.3.100.0020.0154.66
4.3.90.0040.0194.64
4.3.80.0030.0294.58
4.3.70.0030.0144.63
4.3.60.0070.0114.63
4.3.50.0000.0184.63
4.3.40.0020.0274.54
4.3.30.0030.0223.28
4.3.20.0020.0153.26
4.3.10.0020.0153.21
4.3.00.0030.01715.27

preferences:
43.27 ms | 400 KiB | 5 Q