3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class bar { } } namespace bar\foo { class bar { } } namespace { var_dump(new \foo\bar); } namespace bar { var_dump(new \foo\bar); }

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.0090.00618.72
8.3.30.0140.00718.79
8.3.20.0070.00020.38
8.3.10.0080.00023.71
8.3.00.0040.00417.91
8.2.170.0070.00722.96
8.2.160.0100.00720.53
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00420.96
8.2.110.0090.00020.76
8.2.100.0040.00718.09
8.2.90.0050.00219.00
8.2.80.0040.00417.97
8.2.70.0090.00017.50
8.2.60.0030.00617.80
8.2.50.0050.00318.07
8.2.40.0000.00818.06
8.2.30.0030.00618.02
8.2.20.0030.00517.55
8.2.10.0040.00419.59
8.2.00.0000.00717.45
8.1.270.0150.00023.96
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0090.00021.11
8.1.230.0120.00017.58
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00917.23
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0050.00318.46
8.1.160.0050.00321.86
8.1.150.0000.00718.75
8.1.140.0070.00017.31
8.1.130.0050.00317.75
8.1.120.0070.00017.30
8.1.110.0040.00417.40
8.1.100.0030.00417.22
8.1.90.0070.00017.34
8.1.80.0080.00317.36
8.1.70.0070.00017.33
8.1.60.0000.00917.33
8.1.50.0040.00417.40
8.1.40.0040.00417.29
8.1.30.0060.00317.49
8.1.20.0000.00817.41
8.1.10.0000.00717.50
8.1.00.0030.00617.44
8.0.300.0030.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0000.00817.18
8.0.260.0040.00417.24
8.0.250.0020.00516.86
8.0.240.0030.00716.87
8.0.230.0030.00316.88
8.0.220.0030.00316.68
8.0.210.0040.00416.75
8.0.200.0030.00316.79
8.0.190.0060.00316.84
8.0.180.0000.00816.73
8.0.170.0080.00016.67
8.0.160.0000.00716.64
8.0.150.0000.00716.78
8.0.140.0080.00416.76
8.0.130.0000.00713.16
8.0.120.0030.00516.61
8.0.110.0020.00516.69
8.0.100.0040.00316.55
8.0.90.0040.00416.64
8.0.80.0070.01016.77
8.0.70.0000.00716.75
8.0.60.0040.00416.74
8.0.50.0050.00316.75
8.0.30.0100.00916.81
8.0.20.0150.01017.40
8.0.10.0040.00416.98
8.0.00.0060.01216.70
7.4.330.0050.00315.00
7.4.320.0000.00616.36
7.4.300.0070.00016.46
7.4.290.0000.00716.43
7.4.280.0040.00416.36
7.4.270.0040.00416.48
7.4.260.0070.00316.44
7.4.250.0070.00016.23
7.4.240.0020.00516.42
7.4.230.0000.00716.56
7.4.220.0110.00616.46
7.4.210.0100.01016.32
7.4.200.0030.00316.26
7.4.160.0120.00616.27
7.4.150.0030.01917.40
7.4.140.0080.00917.86
7.4.130.0110.00716.39
7.4.120.0130.00716.36
7.4.110.0070.01016.35
7.4.100.0100.00716.36
7.4.90.0030.01316.49
7.4.80.0130.00719.39
7.4.70.0000.01616.36
7.4.60.0030.01816.43
7.4.50.0030.00616.23
7.4.40.0090.00616.39
7.4.30.0120.00316.18
7.4.00.0070.01014.87
7.3.330.0020.00213.11
7.3.320.0000.00613.23
7.3.310.0000.00716.06
7.3.300.0000.00716.20
7.3.290.0090.00916.11
7.3.280.0060.01216.10
7.3.270.0060.01217.40
7.3.260.0070.01416.41
7.3.250.0090.00716.28
7.3.240.0090.00816.41
7.3.230.0140.00316.39
7.3.210.0160.00316.36
7.3.200.0100.01019.39
7.3.190.0130.00316.36
7.3.180.0120.00316.36
7.3.170.0130.00316.32
7.3.160.0060.00916.20
7.3.120.0060.00614.64
7.2.330.0110.01416.62
7.2.320.0120.00616.29
7.2.310.0070.01016.56
7.2.300.0100.00716.57
7.2.290.0110.01116.38
7.2.60.0030.01316.77
7.2.00.0000.01219.36
7.1.200.0040.00715.36
7.1.100.0040.01118.00
7.1.70.0090.00317.07
7.1.60.0140.01119.70
7.1.50.0140.01016.40
7.1.00.0000.08022.47
7.0.200.0030.00316.85
7.0.140.0070.07022.00
7.0.60.0170.07719.96
7.0.50.0100.07717.94
7.0.40.0100.08720.26
7.0.30.0430.05020.34
7.0.20.0170.04320.08
7.0.10.0100.07020.23
7.0.00.0070.08320.09
5.6.280.0030.07320.78
5.6.210.0070.08020.64
5.6.200.0100.06318.27
5.6.190.0300.03320.61
5.6.180.0270.07720.47
5.6.170.0230.06020.41
5.6.160.0030.07020.50
5.6.150.0100.08018.30
5.6.140.0070.04018.14
5.6.130.0130.07718.28
5.6.120.0130.05321.10
5.6.110.0030.08720.98
5.6.100.0200.07720.96
5.6.90.0030.08721.00
5.6.80.0200.07020.40
5.6.70.1270.04320.36
5.5.350.0100.07320.38
5.5.340.0130.07317.96
5.5.330.0030.04320.37
5.5.320.0230.08320.52
5.5.310.0330.07720.41
5.5.300.0130.07718.05
5.5.290.0000.04317.98
5.5.280.0000.04320.65
5.5.270.0130.08020.79
5.5.260.0100.06720.76
5.5.250.0070.08020.78
5.5.240.0130.03320.25
5.4.450.0830.05719.55
5.4.440.0300.05319.57
5.4.430.0270.05319.47
5.4.420.0270.04719.46
5.4.410.0130.05019.06
5.4.400.0430.05318.82
5.4.390.0300.07318.60
5.4.380.0100.05018.49
5.4.370.0130.04718.81
5.4.360.0230.04718.77
5.4.350.0050.04112.02
5.4.340.0040.03712.01
5.4.320.0080.03412.49
5.4.310.0080.03512.50
5.4.300.0070.03512.50
5.4.290.0060.03812.49
5.4.280.0050.03712.39
5.4.270.0060.03612.39
5.4.260.0060.03712.39
5.4.250.0050.03812.39
5.4.240.0060.03612.39
5.4.230.0060.04212.38
5.4.220.0060.03612.38
5.4.210.0050.03612.38
5.4.200.0030.04012.38
5.4.190.0070.03812.38
5.4.180.0060.03612.38
5.4.170.0070.03512.39
5.4.160.0030.04012.38
5.4.150.0040.04912.38
5.4.140.0060.04112.07
5.4.130.0100.03112.06
5.4.120.0070.03312.01
5.4.110.0080.03712.01
5.4.100.0060.03612.01
5.4.90.0040.03912.01
5.4.80.0030.04112.01
5.4.70.0040.03512.01
5.4.60.0060.03412.01
5.4.50.0060.03512.00
5.4.40.0060.03411.99
5.4.30.0080.03611.99
5.4.20.0050.03711.99
5.4.10.0020.03811.99
5.4.00.0110.03111.48
5.3.290.0080.04412.80
5.3.280.0070.03912.71
5.3.270.0090.04812.73
5.3.260.0070.05412.72
5.3.250.0130.04712.72
5.3.240.0080.05212.72
5.3.230.0090.04812.71
5.3.220.0070.04212.68
5.3.210.0100.03812.68
5.3.200.0080.03712.68
5.3.190.0050.04712.68
5.3.180.0110.03712.67
5.3.170.0090.04212.67
5.3.160.0050.05612.67
5.3.150.0070.04112.67
5.3.140.0080.03412.66
5.3.130.0090.03512.66
5.3.120.0060.03912.66
5.3.110.0070.03812.66
5.3.100.0070.03612.13
5.3.90.0040.04012.10
5.3.80.0060.03612.10
5.3.70.0060.03612.10
5.3.60.0030.03912.08
5.3.50.0110.03612.03
5.3.40.0090.04912.03
5.3.30.0090.04411.98
5.3.20.0070.04111.77
5.3.10.0050.04311.73
5.3.00.0080.03811.72
5.2.170.0040.0339.18
5.2.160.0040.0329.18
5.2.150.0040.0339.18
5.2.140.0070.0409.18
5.2.130.0040.0339.14
5.2.120.0070.0369.14
5.2.110.0050.0379.14
5.2.100.0060.0389.14
5.2.90.0050.0409.14
5.2.80.0040.0429.14
5.2.70.0070.0399.14
5.2.60.0120.0369.09
5.2.50.0090.0379.05
5.2.40.0050.0389.03
5.2.30.0050.0419.01
5.2.20.0080.0359.01
5.2.10.0110.0318.93
5.2.00.0090.0308.79
5.1.60.0040.0258.06
5.1.50.0020.0288.06
5.1.40.0040.0258.05
5.1.30.0040.0298.39
5.1.20.0030.0288.42
5.1.10.0060.0258.14
5.1.00.0060.0308.14
5.0.50.0050.0196.62
5.0.40.0020.0216.48
5.0.30.0090.0276.29
5.0.20.0020.0216.26
5.0.10.0040.0216.24
5.0.00.0040.0326.23
4.4.90.0010.0194.78
4.4.80.0010.0184.75
4.4.70.0010.0184.75
4.4.60.0070.0114.75
4.4.50.0020.0164.77
4.4.40.0010.0284.71
4.4.30.0050.0194.76
4.4.20.0020.0194.84
4.4.10.0060.0174.85
4.4.00.0010.0264.76
4.3.110.0010.0184.67
4.3.100.0060.0124.66
4.3.90.0030.0144.63
4.3.80.0040.0234.58
4.3.70.0030.0144.63
4.3.60.0020.0174.63
4.3.50.0040.0154.63
4.3.40.0050.0224.54
4.3.30.0000.0183.28
4.3.20.0010.0173.26
4.3.10.0030.0153.22
4.3.00.0130.0237.12

preferences:
42.04 ms | 400 KiB | 5 Q