3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class hello {} } namespace bar { class hello {} } namespace { use 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.60.0040.01116.63
8.3.50.0100.00316.35
8.3.40.0070.00718.68
8.3.30.0070.00718.43
8.3.20.0040.00420.31
8.3.10.0040.00423.64
8.3.00.0050.00319.56
8.2.180.0100.00716.50
8.2.170.0040.01522.96
8.2.160.0070.00719.01
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00019.19
8.2.120.0040.00426.35
8.2.110.0070.00322.08
8.2.100.0110.00017.78
8.2.90.0050.00319.13
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0030.00617.93
8.2.50.0040.00418.10
8.2.40.0040.00420.42
8.2.30.0040.00421.04
8.2.20.0000.00817.84
8.2.10.0040.00417.92
8.2.00.0050.00517.80
8.1.280.0070.00725.92
8.1.270.0070.00022.09
8.1.260.0000.01026.35
8.1.250.0070.00028.09
8.1.240.0060.00324.02
8.1.230.0030.00722.27
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.10
8.1.190.0030.00617.22
8.1.180.0000.00718.10
8.1.170.0000.00818.50
8.1.160.0040.00418.85
8.1.150.0000.00918.67
8.1.140.0000.00719.48
8.1.130.0000.00818.79
8.1.120.0000.00817.27
8.1.110.0060.00317.23
8.1.100.0000.01017.21
8.1.90.0040.00417.32
8.1.80.0030.00517.25
8.1.70.0060.00317.36
8.1.60.0070.00017.50
8.1.50.0000.00817.37
8.1.40.0050.00217.39
8.1.30.0040.00417.46
8.1.20.0000.00817.49
8.1.10.0020.00517.28
8.1.00.0060.00317.18
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0070.00018.31
8.0.270.0070.00017.03
8.0.260.0060.00018.22
8.0.250.0030.00316.84
8.0.240.0000.00716.89
8.0.230.0000.00816.76
8.0.220.0030.00316.84
8.0.210.0070.00016.82
8.0.200.0030.00316.90
8.0.190.0030.00516.92
8.0.180.0080.00016.76
8.0.170.0070.00016.75
8.0.160.0040.00316.79
8.0.150.0000.00716.72
8.0.140.0030.00316.79
8.0.130.0000.00913.20
8.0.120.0040.00416.71
8.0.110.0040.00416.85
8.0.100.0000.00716.68
8.0.90.0000.00816.85
8.0.80.0100.01016.77
8.0.70.0000.00816.79
8.0.60.0000.00816.69
8.0.50.0000.00716.78
8.0.30.0120.00816.95
8.0.20.0090.00917.40
8.0.10.0030.00616.97
8.0.00.0090.00916.65
7.4.330.0000.00615.55
7.4.320.0000.00616.38
7.4.300.0000.00616.45
7.4.290.0070.00016.36
7.4.280.0070.00016.45
7.4.270.0040.00416.38
7.4.260.0070.00316.42
7.4.250.0000.00716.23
7.4.240.0030.00316.51
7.4.230.0030.00316.34
7.4.220.0090.00916.47
7.4.210.0090.00616.46
7.4.200.0000.00716.57
7.4.160.0050.01116.27
7.4.150.0070.01117.40
7.4.140.0090.01217.86
7.4.130.0120.00816.44
7.4.120.0090.01116.45
7.4.110.0100.00716.57
7.4.100.0120.00616.30
7.4.90.0100.01316.45
7.4.80.0160.00019.39
7.4.70.0070.01116.27
7.4.60.0100.00716.46
7.4.50.0070.00416.51
7.4.40.0130.01016.06
7.4.30.0030.01316.42
7.4.00.0030.01114.78
7.3.330.0070.00013.30
7.3.320.0000.00613.25
7.3.310.0070.00016.23
7.3.300.0070.00016.10
7.3.290.0080.00816.20
7.3.280.0080.00916.21
7.3.270.0150.00417.40
7.3.260.0120.00616.38
7.3.250.0090.01016.34
7.3.240.0100.01016.38
7.3.230.0120.00316.39
7.3.210.0130.00316.18
7.3.200.0100.00616.11
7.3.190.0130.00316.51
7.3.180.0060.00916.43
7.3.170.0060.00916.20
7.3.160.0080.01216.43
7.3.120.0030.01614.63
7.3.110.0090.01014.61
7.3.100.0030.00614.90
7.3.90.0070.01014.83
7.3.80.0100.00314.65
7.3.70.0030.00914.35
7.3.60.0090.00014.81
7.3.50.0030.01314.47
7.3.40.0040.00714.77
7.3.30.0030.00914.73
7.3.20.0100.00316.16
7.3.10.0030.01316.15
7.3.00.0050.00816.54
7.2.330.0060.01216.21
7.2.320.0030.01316.43
7.2.310.0110.01116.30
7.2.300.0110.00716.41
7.2.290.0100.01016.14
7.2.250.0060.01314.82
7.2.240.0090.00914.47
7.2.230.0070.00414.69
7.2.220.0070.00414.60
7.2.210.0060.00915.00
7.2.200.0130.00014.95
7.2.190.0070.00714.56
7.2.180.0100.00714.75
7.2.170.0070.00314.75
7.2.60.0100.00616.93
7.2.00.0040.01119.06
7.1.330.0030.01315.63
7.1.320.0040.00715.57
7.1.310.0090.00015.77
7.1.300.0000.01315.51
7.1.290.0090.00415.26
7.1.280.0100.00015.57
7.1.270.0070.00715.79
7.1.260.0110.00415.31
7.1.200.0060.00715.57
7.1.100.0100.01017.94
7.1.70.0280.01815.02
7.1.60.0710.00933.32
7.1.50.0540.02332.57
7.1.40.0630.01732.35
7.1.30.0360.02032.49
7.1.20.0610.01732.68
7.1.10.0390.01214.54
7.1.00.0350.01414.66
7.0.200.0330.00714.93
7.0.190.0420.01014.60
7.0.180.0400.01514.23
7.0.170.0310.01014.48
7.0.160.0380.00814.40
7.0.150.0420.00914.34
7.0.140.1460.01314.55
7.0.130.0320.01814.63
7.0.120.0350.01814.63
7.0.110.0450.00614.31
7.0.100.0380.01714.24
7.0.90.0260.01014.27
7.0.80.0400.01314.42
7.0.70.0410.01314.24
7.0.60.0400.01314.23
7.0.50.0370.01014.36
7.0.40.0280.00914.46
7.0.30.0360.00614.57
7.0.20.0210.01414.66
7.0.10.0380.01014.42
7.0.00.0370.01014.24

preferences:
36.41 ms | 401 KiB | 5 Q