3v4l.org

run code in 300+ PHP versions simultaneously
<?php $templateXML = simplexml_load_file( implode( DIRECTORY_SEPARATOR, [JPATH_SITE, 'templates', $this->template->name, 'templateDetails.xml'] ) ); if (!strlen((string) $templateXML->namespace)) { // do something with non-namespaced template }

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.5.00.0150.00620.06
8.4.150.0020.00014.05
8.4.140.0100.01117.68
8.4.130.0040.00517.91
8.4.120.0090.01022.44
8.4.110.0120.00422.50
8.4.100.0110.01018.12
8.4.90.0090.01217.86
8.4.80.0050.00320.59
8.4.70.0120.00817.93
8.4.60.0030.00519.49
8.4.50.0100.01118.14
8.4.40.0100.00617.90
8.4.30.0060.00320.19
8.4.20.0030.00618.16
8.4.10.0100.00622.02
8.3.280.0120.00818.44
8.3.270.0050.00316.79
8.3.260.0060.00316.41
8.3.250.0110.00719.09
8.3.240.0080.00816.65
8.3.230.0100.00916.75
8.3.220.0050.00318.92
8.3.210.0120.00916.75
8.3.200.0120.00616.74
8.3.190.0100.00916.60
8.3.180.0040.00416.66
8.3.170.0030.00516.77
8.3.160.0000.00816.54
8.3.150.0070.01118.92
8.3.140.0060.00320.68
8.3.130.0080.00018.73
8.3.120.0090.00918.88
8.3.110.0090.00620.94
8.3.100.0000.00824.06
8.3.90.0000.00826.77
8.3.80.0070.00319.36
8.3.70.0110.00718.43
8.3.60.0120.00918.43
8.3.50.0070.01324.52
8.3.40.0160.00018.98
8.3.30.0110.00418.67
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.290.0120.00622.00
8.2.280.0110.00816.94
8.2.270.0090.00616.84
8.2.260.0150.00316.66
8.2.250.0160.00316.56
8.2.240.0040.00416.92
8.2.230.0090.00922.58
8.2.220.0080.00037.54
8.2.210.0110.00426.77
8.2.200.0030.00618.88
8.2.190.0040.01516.75
8.2.180.0070.00725.92
8.2.170.0110.00418.79
8.2.160.0150.00622.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0030.00626.16
8.2.120.0000.00826.35
8.2.110.0000.00822.25
8.2.100.0070.00418.22
8.2.90.0050.00520.15
8.2.80.0000.00817.97
8.2.70.0080.00017.93
8.2.60.0040.00417.80
8.2.50.0040.00418.05
8.2.40.0070.00418.09
8.2.30.0000.00717.95
8.2.20.0030.00518.12
8.2.10.0000.00821.01
8.2.00.0050.00219.16
8.1.330.0100.00916.53
8.1.320.0140.00516.07
8.1.310.0080.00017.89
8.1.300.0000.00818.10
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0080.00022.13
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0090.00022.02
8.1.230.0070.00419.01
8.1.220.0030.00617.79
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0060.00317.22
8.1.180.0000.00818.10
8.1.170.0000.00718.74
8.1.160.0060.00318.74
8.1.150.0040.00418.73
8.1.140.0040.00418.78
8.1.130.0000.00820.14
8.1.120.0080.00017.43
8.1.110.0080.00017.35
8.1.100.0000.00717.38
8.1.90.0000.00717.36
8.1.80.0000.01017.38
8.1.70.0000.00717.30
8.1.60.0090.00017.41
8.1.50.0000.00817.31
8.1.40.0030.00917.50
8.1.30.0000.00817.60
8.1.20.0000.00817.48
8.1.10.0040.00417.54
8.1.00.0060.00617.43
8.0.300.0040.00419.73
8.0.290.0000.00716.88
8.0.280.0080.00018.35
8.0.270.0030.00318.05
8.0.260.0030.00318.57
8.0.250.0000.00717.00
8.0.240.0030.00317.06
8.0.230.0030.00316.92
8.0.220.0070.00017.00
8.0.210.0030.00316.86
8.0.200.0040.00417.00
8.0.190.0090.00017.05
8.0.180.0000.00716.93
8.0.170.0050.00517.02
8.0.160.0050.00317.05
8.0.150.0070.00016.91
8.0.140.0030.00716.73
8.0.130.0030.00313.42
8.0.120.0060.00316.95
8.0.110.0000.00816.89
8.0.100.0000.00717.05
8.0.90.0030.00516.98
8.0.80.0090.00516.89
8.0.70.0040.00316.82
8.0.60.0000.00716.98
8.0.50.0050.00216.94
8.0.30.0040.01416.75
8.0.20.0150.01117.07
8.0.10.0110.00817.14
8.0.00.0130.00617.02
7.4.330.0000.00516.73
7.4.320.0030.00316.37
7.4.300.0000.00616.45
7.4.290.0040.00416.34
7.4.280.0000.00816.43
7.4.270.0060.00016.37
7.4.260.0020.00513.23
7.4.250.0000.00716.54
7.4.240.0060.00216.50
7.4.230.0070.00016.62
7.4.220.0060.00216.48
7.4.210.0050.01116.51
7.4.200.0000.00716.44
7.4.150.0190.00716.52
7.4.140.0060.01216.45
7.4.130.0090.00916.51
7.4.120.0080.01116.28
7.4.110.0170.00316.30
7.4.100.0140.00816.50
7.4.90.0070.01116.42
7.4.80.0100.01016.42
7.4.70.0150.00316.21
7.4.60.0070.01116.55
7.4.50.0060.01316.36
7.4.40.0310.01116.44
7.4.30.0090.00916.35
7.4.20.0050.01316.43
7.4.10.0100.01016.37
7.4.00.0060.01216.17
7.3.330.0030.00616.34
7.3.320.0000.00513.18
7.3.310.0000.00716.32
7.3.300.0030.00316.25
7.3.290.0060.01116.29
7.3.270.0140.01415.95
7.3.260.0070.01016.20
7.3.250.0130.00616.34
7.3.240.0120.00816.36
7.3.230.0150.00916.25
7.3.220.0170.00616.19
7.3.210.0150.00316.43
7.3.200.0120.00416.30
7.3.190.0090.00916.29
7.3.180.0120.00616.25
7.3.170.0140.01716.30
7.3.160.0070.01116.44
7.3.150.0090.00916.50
7.3.140.0130.00316.48
7.3.130.0080.00816.13
7.3.120.0150.00416.25
7.3.110.0130.00316.49
7.3.100.0130.00416.22
7.3.90.0080.00816.34
7.3.80.0070.01016.14
7.3.70.0170.00016.38
7.3.60.0120.00316.39
7.3.50.0120.00316.32
7.3.40.0040.01216.39
7.3.30.0090.00916.43
7.3.20.0120.00618.21
7.3.10.0100.00718.02
7.3.00.0090.00918.06

preferences:
183.27 ms | 403 KiB | 5 Q