3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = ' <FORM_SECTION> </FORM_SECTION>'; $xml_file = simplexml_load_file($xml); parseXML($xml_file->children()); function parseXML($xml_children) { foreach ($xml_children as $child){ echo $child->getName().':'. $child."<br>"; if ($child->count() > 0) { parseXML($child->children()); } } }

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.0130.00619.09
8.3.30.0110.00720.42
8.3.20.0120.00618.95
8.3.10.0040.00419.41
8.3.00.0060.00919.67
8.2.170.0110.00422.96
8.2.160.0060.00920.56
8.2.150.0040.01124.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0070.00417.91
8.2.110.0060.00320.47
8.2.100.0000.01117.84
8.2.90.0000.00819.17
8.2.80.0000.00817.97
8.2.70.0070.00417.48
8.2.60.0080.00018.05
8.2.50.0080.00018.07
8.2.40.0040.00418.28
8.2.30.0050.00319.54
8.2.20.0000.00717.80
8.2.10.0000.00817.76
8.2.00.0030.00617.78
8.1.270.0050.00323.99
8.1.260.0070.00726.35
8.1.250.0080.00028.09
8.1.240.0030.00722.42
8.1.230.0090.00621.07
8.1.220.0030.00618.77
8.1.210.0000.00818.85
8.1.200.0030.00617.35
8.1.190.0000.00817.53
8.1.180.0060.00318.10
8.1.170.0000.00818.62
8.1.160.0060.00318.86
8.1.150.0030.00618.66
8.1.140.0040.00417.52
8.1.130.0000.00717.98
8.1.120.0040.00417.55
8.1.110.0040.00417.43
8.1.100.0000.00917.36
8.1.90.0000.00817.48
8.1.80.0030.00517.50
8.1.70.0000.00717.47
8.1.60.0090.00017.68
8.1.50.0000.00817.39
8.1.40.0000.00717.68
8.1.30.0040.00417.79
8.1.20.0040.00417.75
8.1.10.0020.00517.69
8.1.00.0000.00917.66
8.0.300.0050.00220.19
8.0.290.0050.00217.16
8.0.280.0070.00018.68
8.0.270.0070.00017.28
8.0.260.0030.00316.93
8.0.250.0000.00716.89
8.0.240.0040.00417.08
8.0.230.0040.00416.90
8.0.220.0030.00316.80
8.0.210.0030.00716.80
8.0.200.0000.00817.11
8.0.190.0000.00817.03
8.0.180.0040.00417.01
8.0.170.0080.00016.80
8.0.160.0000.00817.02
8.0.150.0030.00316.78
8.0.140.0030.00516.80
8.0.130.0030.00313.50
8.0.120.0000.00816.73
8.0.110.0050.00316.96
8.0.100.0000.00716.86
8.0.90.0050.00216.89
8.0.80.0070.01416.92
8.0.70.0000.00716.99
8.0.60.0040.00416.95
8.0.50.0020.00516.81
8.0.30.0140.00517.02
8.0.20.0130.00917.40
8.0.10.0000.00717.11
8.0.00.0150.00416.89
7.4.330.0020.00216.79
7.4.320.0030.00316.68
7.4.300.0060.00316.69
7.4.290.0000.00716.71
7.4.280.0050.00216.59
7.4.270.0040.00416.65
7.4.260.0050.00013.46
7.4.250.0000.00716.68
7.4.240.0050.00316.67
7.4.230.0000.00716.74
7.4.220.0070.01416.55
7.4.210.0050.01116.63
7.4.200.0070.00016.71
7.4.190.0070.00016.42
7.4.160.0100.01316.57
7.4.150.0100.00717.40
7.4.140.0100.01117.86
7.4.130.0100.00716.63
7.4.120.0080.00916.67
7.4.110.0150.00316.33
7.4.100.0090.00916.50
7.4.90.0170.00716.52
7.4.80.0090.00919.39
7.4.70.0070.01016.69
7.4.60.0100.01716.64
7.4.50.0080.00016.51
7.4.40.0060.00622.77
7.4.30.0100.01016.77
7.4.00.0030.00715.15
7.3.330.0060.00013.12
7.3.320.0000.00513.15
7.3.310.0000.00716.36
7.3.300.0000.00716.20
7.3.290.0110.00316.46
7.3.280.0100.00716.33
7.3.270.0120.00617.40
7.3.260.0110.00918.24
7.3.250.0140.00516.64
7.3.240.0140.00316.31
7.3.230.0100.01016.68
7.3.210.0060.01216.63
7.3.200.0090.01219.39
7.3.190.0130.01016.59
7.3.180.0100.00616.36
7.3.170.0120.00916.39
7.3.160.0150.00616.64
7.3.120.0000.01014.94
7.2.330.0070.01016.46
7.2.320.0060.01216.66
7.2.310.0060.01016.51
7.2.300.0060.01016.37
7.2.290.0120.00816.34
7.2.60.0030.00916.85
7.2.50.0030.01016.82
7.1.200.0070.00715.77
7.1.70.0000.00717.23
7.1.60.0040.00717.22
7.1.50.0040.00716.70
7.1.40.0030.00716.50
7.1.30.0080.00316.70
7.1.20.0090.00916.55
7.1.10.0000.01616.70
7.1.00.0050.00516.72
7.0.200.0060.00616.79
7.0.190.0000.00916.48
7.0.180.0050.00216.11
7.0.170.0040.00416.26
7.0.160.0000.01116.12
7.0.150.0030.01316.26
7.0.140.0030.01016.34
7.0.130.0030.00716.63
7.0.120.0000.01116.41
7.0.110.0040.01416.53
7.0.100.0000.00816.47
7.0.90.0090.00016.51
7.0.80.0000.00716.46
7.0.70.0000.01116.48
7.0.60.0030.01216.09
7.0.50.0040.00416.41
7.0.40.0000.01415.31
7.0.30.0030.01315.31
7.0.20.0090.00015.31
7.0.10.0080.00015.31
7.0.00.0000.01015.31
5.6.300.0060.07520.67
5.6.290.0060.05420.66
5.6.280.0030.04120.98
5.6.270.0070.04620.80
5.6.260.0000.04421.01
5.6.250.0100.05420.90
5.6.240.0030.05120.91
5.6.230.0030.05020.96
5.6.220.0060.03820.88
5.6.210.0000.07820.80
5.6.200.0000.05620.85
5.6.190.0070.06221.04
5.6.180.0100.04220.93
5.6.170.0070.04121.04
5.6.160.0060.03820.92
5.6.150.0030.08120.84
5.6.140.0030.06020.99
5.6.130.0000.04720.94
5.6.120.0070.05020.74
5.6.110.0000.04520.82
5.6.100.0000.04820.77
5.6.90.0070.03720.88
5.6.80.0000.04420.25
5.6.70.0100.05220.11
5.6.60.0030.04620.11
5.6.50.0130.04020.25
5.6.40.0000.04120.27
5.6.30.0000.04820.22
5.6.20.0030.04420.20
5.6.10.0030.04120.24
5.6.00.0030.04320.27
5.5.380.0070.03617.54
5.5.370.0030.04217.42
5.5.360.0030.04217.48
5.5.350.0060.05517.59
5.5.340.0070.04017.82
5.5.330.0030.05518.02
5.5.320.0100.05218.20
5.5.310.0030.04318.21
5.5.300.0000.04718.19
5.5.290.0070.07018.09
5.5.280.0000.04618.08
5.5.270.0000.05618.09
5.5.260.0000.04218.07
5.5.250.0000.04817.91
5.5.240.0030.03917.52
5.5.230.0070.07917.45
5.5.220.0100.03717.56
5.5.210.0000.06317.19
5.5.200.0070.05617.43
5.5.190.0030.04117.18
5.5.180.0030.04417.13
5.5.160.0030.04117.49
5.5.150.0040.04717.16
5.5.140.0000.04317.45
5.5.130.0100.03517.12
5.5.120.0060.04217.21
5.5.110.0100.02917.50
5.5.100.0060.03817.32
5.5.90.0070.04017.32
5.5.80.0070.03717.02
5.5.70.0040.03617.11
5.5.60.0070.05217.33
5.5.50.0000.03817.34
5.5.40.0030.03517.43
5.5.30.0060.06117.29
5.5.20.0100.07617.35
5.5.10.0000.07517.43
5.5.00.0030.04117.30
5.4.450.0060.03819.45
5.4.440.0030.04219.42
5.4.430.0000.04419.60
5.4.420.0070.04919.35
5.4.410.0030.04019.34
5.4.400.0030.04019.21
5.4.390.0000.04819.28
5.4.380.0000.05318.99
5.4.370.0030.06018.99
5.4.360.0130.03219.14
5.4.350.0030.04119.09
5.4.340.0060.04119.00
5.4.320.0070.04019.23
5.4.310.0030.05119.14
5.4.300.0030.04319.12
5.4.290.0000.04419.09
5.4.280.0030.04219.21
5.4.270.0000.04618.99
5.4.260.0090.03419.14
5.4.250.0200.03319.23
5.4.240.0070.04618.98
5.4.230.0070.04019.14
5.4.220.0000.04719.07
5.4.210.0000.05719.11
5.4.200.0070.03619.03
5.4.190.0030.04219.25
5.4.180.0070.07619.07
5.4.170.0070.04019.22
5.4.160.0030.03719.07
5.4.150.0030.06319.21
5.4.140.0000.03916.64
5.4.130.0100.06516.82
5.4.120.0030.03416.59
5.4.110.0000.03916.83
5.4.100.0070.04716.70
5.4.90.0100.04516.54
5.4.80.0030.03616.86
5.4.70.0000.04316.68
5.4.60.0060.03916.68
5.4.50.0090.02816.72
5.4.40.0030.07516.72
5.4.30.0000.03716.74
5.4.20.0000.03716.51
5.4.10.0070.03316.65
5.4.00.0000.07115.91
5.3.290.0060.03815.31
5.3.280.0040.03515.31
5.3.270.0030.08215.31
5.3.260.0030.04015.31
5.3.250.0030.06715.31
5.3.240.0100.06415.31
5.3.230.0030.06915.31
5.3.220.0000.04215.31
5.3.210.0000.04015.31
5.3.200.0070.07615.31
5.3.190.0160.03515.31
5.3.180.0030.03715.31
5.3.170.0000.04415.31
5.3.160.0070.05315.31
5.3.150.0030.05215.31
5.3.140.0030.07315.31
5.3.130.0060.03515.31
5.3.120.0000.04215.31
5.3.110.0000.06115.31
5.3.100.0000.04015.31
5.3.90.0000.04515.31
5.3.80.0060.03515.31
5.3.70.0000.03715.31
5.3.60.0070.03315.31
5.3.50.0000.03815.31
5.3.40.0100.03515.31
5.3.30.0030.04815.31
5.3.20.0060.03215.31
5.3.10.0030.03615.31
5.3.00.0000.04315.31
5.2.170.0090.02215.31
5.2.160.0000.02915.31
5.2.150.0000.05515.31
5.2.140.0030.02815.31
5.2.130.0000.04015.31
5.2.120.0030.02915.31
5.2.110.0030.02815.31
5.2.100.0070.02715.31
5.2.90.0070.02315.31
5.2.80.0030.06815.31
5.2.70.0030.06115.31
5.2.60.0000.03315.31
5.2.50.0000.04215.31
5.2.40.0000.02915.31
5.2.30.0000.03815.31
5.2.20.0100.05215.31
5.2.10.0000.06215.31
5.2.00.0030.03315.31
5.1.60.0030.02615.31
5.1.50.0000.03015.31
5.1.40.0090.02115.31
5.1.30.0000.02915.31
5.1.20.0000.02715.31
5.1.10.0030.02315.31
5.1.00.0030.02715.31
5.0.50.0030.02015.31
5.0.40.0000.02115.31
5.0.30.0000.05415.31
5.0.20.0030.03715.31
5.0.10.0040.03615.31
5.0.00.0000.05215.31
4.4.90.0000.02215.31
4.4.80.0000.01615.31
4.4.70.0060.02615.31
4.4.60.0030.02415.31
4.4.50.0060.01815.31
4.4.40.0000.02915.31
4.4.30.0030.01515.31
4.4.20.0060.02515.31
4.4.10.0030.01615.31
4.4.00.0000.02515.31
4.3.110.0060.02315.31
4.3.100.0000.01815.31
4.3.90.0040.01815.31
4.3.80.0000.03915.31
4.3.70.0040.03215.31
4.3.60.0000.03815.31
4.3.50.0030.03315.31
4.3.40.0070.03915.31
4.3.30.0040.03615.31
4.3.20.0000.03415.31
4.3.10.0000.02315.31
4.3.00.0060.03215.31

preferences:
48.17 ms | 400 KiB | 5 Q