3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filename = '<joku><NO_MARK>9.</NO_MARK> <TI_MARK>Budjetti</TI_MARK></joku>'; $xml_file = simplexml_load_string($filename); 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.60.0110.00316.50
8.3.50.0110.00917.31
8.3.40.0170.00319.09
8.3.30.0060.00918.97
8.3.20.0000.00818.90
8.3.10.0100.00020.78
8.3.00.0080.00019.51
8.2.180.0070.01016.75
8.2.170.0120.00322.96
8.2.160.0120.00620.81
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.01019.53
8.2.110.0070.00320.83
8.2.100.0000.01118.03
8.2.90.0040.00419.34
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0000.00818.18
8.2.50.0030.00618.07
8.2.40.0040.00418.28
8.2.30.0070.00018.09
8.2.20.0060.00317.80
8.2.10.0070.00017.95
8.2.00.0020.00517.84
8.1.280.0080.00625.92
8.1.270.0070.00024.66
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0000.00922.27
8.1.230.0000.01517.71
8.1.220.0030.00717.88
8.1.210.0080.00018.77
8.1.200.0060.00317.48
8.1.190.0050.00317.64
8.1.180.0060.00318.10
8.1.170.0030.00620.71
8.1.160.0030.00619.15
8.1.150.0030.00518.91
8.1.140.0040.00417.74
8.1.130.0030.00318.07
8.1.120.0030.00317.64
8.1.110.0000.00717.55
8.1.100.0050.00317.55
8.1.90.0030.00317.57
8.1.80.0000.00717.58
8.1.70.0000.00717.58
8.1.60.0040.00417.75
8.1.50.0040.00417.59
8.1.40.0000.00717.57
8.1.30.0060.00317.84
8.1.20.0040.00417.76
8.1.10.0040.00417.61
8.1.00.0040.00417.61
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.67
8.0.270.0050.00317.46
8.0.260.0040.00416.96
8.0.250.0040.00417.07
8.0.240.0000.00717.06
8.0.230.0030.00517.06
8.0.220.0040.00417.13
8.0.210.0070.00016.97
8.0.200.0030.00317.04
8.0.190.0040.00417.06
8.0.180.0050.00217.05
8.0.170.0040.00416.99
8.0.160.0030.00317.21
8.0.150.0000.00916.96
8.0.140.0000.00817.09
8.0.130.0030.00313.48
8.0.120.0000.00716.97
8.0.110.0040.00416.84
8.0.100.0040.00416.96
8.0.90.0000.00817.13
8.0.80.0060.00917.14
8.0.70.0000.00917.10
8.0.60.0040.00417.05
8.0.50.0000.00817.04
8.0.30.0090.00917.26
8.0.20.0100.00917.31
8.0.10.0030.00317.21
8.0.00.0110.00917.01
7.4.330.0000.00513.17
7.4.320.0060.00016.77
7.4.300.0000.00716.73
7.4.290.0030.00316.84
7.4.280.0040.00416.85
7.4.270.0030.00316.75
7.4.260.0050.00013.52
7.4.250.0000.00816.80
7.4.240.0030.00316.66
7.4.230.0000.00716.89
7.4.220.0090.00916.77
7.4.210.0080.00916.62
7.4.200.0030.00316.46
7.4.190.0070.00016.85
7.4.160.0070.01016.90
7.4.150.0140.00416.96
7.4.140.0130.00616.55
7.4.130.0030.01616.73
7.4.120.0080.00816.81
7.4.110.0120.00616.76
7.4.100.0100.01316.70
7.4.90.0060.01216.81
7.4.80.0110.00719.39
7.4.70.0170.00016.69
7.4.60.0090.00616.80
7.4.50.0090.00016.81
7.4.40.0070.00716.84
7.4.30.0050.01016.73
7.4.00.0070.00415.12
7.3.330.0030.00313.34
7.3.320.0050.00013.48
7.3.310.0070.00016.54
7.3.300.0000.00716.49
7.3.290.0090.00916.46
7.3.280.0060.01316.48
7.3.270.0090.00816.58
7.3.260.0130.00416.65
7.3.250.0110.01016.61
7.3.240.0100.01016.71
7.3.230.0120.00316.56
7.3.210.0070.01416.86
7.3.200.0060.01016.61
7.3.190.0080.01116.49
7.3.180.0100.00716.81
7.3.170.0130.01016.64
7.3.160.0040.01216.76
7.3.120.0070.00815.02
7.3.110.0000.01714.69
7.3.100.0090.00315.10
7.3.90.0000.01315.02
7.3.80.0070.00715.06
7.3.70.0130.00314.93
7.3.60.0030.00614.99
7.3.50.0060.00914.93
7.3.40.0060.00614.99
7.3.30.0030.01014.74
7.3.20.0030.01016.77
7.3.10.0070.00416.70
7.3.00.0060.00916.55
7.2.330.0070.01416.97
7.2.320.0090.00917.09
7.2.310.0030.01516.62
7.2.300.0100.01017.00
7.2.290.0040.01817.00
7.2.250.0130.00315.14
7.2.240.0000.02015.14
7.2.230.0060.01015.12
7.2.220.0030.00615.29
7.2.210.0030.01315.23
7.2.200.0030.01015.11
7.2.190.0090.00315.27
7.2.180.0030.00915.18
7.2.170.0110.00415.23
7.2.00.0030.01019.36
7.1.330.0070.00715.74
7.1.320.0090.00615.77
7.1.310.0070.00716.04
7.1.300.0060.00616.06
7.1.290.0000.01115.92
7.1.280.0040.00415.84
7.1.270.0040.01115.79
7.1.260.0030.00615.54
7.1.100.0090.00618.05
7.1.70.0040.00417.02
7.1.60.0130.01319.40
7.1.50.0130.01017.14
7.1.00.0030.05322.59
7.0.200.0000.00816.80
7.0.140.0030.07022.10
7.0.120.0030.07322.20
7.0.60.0100.07320.13
7.0.50.0100.07317.95
7.0.40.0100.07020.12
7.0.30.0300.07320.26
7.0.20.0300.08020.41
7.0.10.0130.04720.22
7.0.00.0030.08720.27
5.6.280.0070.07021.04
5.6.210.0130.08720.66
5.6.200.0030.04018.32
5.6.190.0130.03320.41
5.6.180.0270.06720.56
5.6.170.0230.04020.69
5.6.160.0030.07720.69
5.6.150.0230.05318.37
5.6.140.0030.04318.35
5.6.130.0030.09018.27
5.6.120.0030.05721.19
5.6.110.0200.07721.04
5.6.100.0000.04721.11
5.6.90.0130.05721.03
5.6.80.0130.07320.42
5.6.70.0830.05320.51
5.5.350.0270.05320.58
5.5.340.0100.08018.06
5.5.330.0130.07720.38
5.5.320.0270.06720.20
5.5.310.0270.03020.63
5.5.300.0070.07718.11
5.5.290.0070.07718.16
5.5.280.0000.04721.02
5.5.270.0100.04320.84
5.5.260.0070.04321.00
5.5.250.0070.08320.57
5.5.240.0100.07720.33
5.4.450.0130.08019.39
5.4.440.0000.05719.70
5.4.430.0070.06319.49
5.4.420.0130.03719.66
5.4.410.0100.06719.38
5.4.400.0170.04019.08
5.4.390.0030.07319.15
5.4.380.0030.07719.35
5.4.370.0030.04019.38
5.4.360.0070.06319.34
5.4.350.0030.07719.06
5.4.340.0170.06719.05
5.4.320.0000.04319.19
5.4.310.0100.04319.08
5.4.300.0030.04719.27
5.4.290.0070.04719.19
5.4.280.0030.05019.38
5.4.270.0100.07019.38
5.4.260.0070.05319.23
5.4.250.0070.07718.91
5.4.240.0100.07319.43
5.4.230.0130.05019.37
5.4.220.0030.06719.27
5.4.210.0100.07319.19
5.4.200.0030.04019.04
5.4.190.0100.04319.37
5.4.180.0100.07018.93
5.4.170.0070.03719.21
5.4.160.0130.06018.90
5.4.150.0130.07018.93
5.4.140.0070.05316.63
5.4.130.0070.04716.59
5.4.120.0070.07716.55
5.4.110.0070.07716.46
5.4.100.0100.06316.52
5.4.90.0170.06016.62
5.4.80.0030.07016.54
5.4.70.0030.07716.75
5.4.60.0130.06716.53
5.4.50.0130.06716.43
5.4.40.0030.05016.52
5.4.30.0030.04016.54
5.4.20.0130.04316.70
5.4.10.0070.05316.54
5.4.00.0030.04015.94
5.3.290.0000.05314.79
5.3.280.0030.07714.72
5.3.270.0000.04714.69
5.3.260.0170.06714.79
5.3.250.0070.06014.73
5.3.240.0030.08014.75
5.3.230.0030.06714.59
5.3.220.0100.07014.79
5.3.210.0030.07714.65
5.3.200.0170.03314.66
5.3.190.0100.06014.70
5.3.180.0100.06314.78
5.3.170.0030.07014.75
5.3.160.0100.07014.71
5.3.150.0030.08314.70
5.3.140.0100.06714.69
5.3.130.0070.07314.63
5.3.120.0130.05314.57
5.3.110.0030.05014.65
5.3.100.0100.05714.25
5.3.90.0000.04314.24
5.3.80.0030.03714.01
5.3.70.0030.04014.16
5.3.60.0100.07014.14
5.3.50.0100.05014.05
5.3.40.0100.06314.18
5.3.30.0030.05313.90
5.3.20.0100.06313.83
5.3.10.0030.05313.68
5.3.00.0000.05013.75
5.2.170.0030.04311.27
5.2.160.0000.04011.34
5.2.150.0100.05011.28
5.2.140.0030.03011.23
5.2.130.0070.06011.28
5.2.120.0030.06011.30
5.2.110.0030.03711.09
5.2.100.0000.06011.14
5.2.90.0000.04011.33
5.2.80.0070.03711.08
5.2.70.0000.05011.29
5.2.60.0130.04711.20
5.2.50.0100.04311.04
5.2.40.0000.05310.99
5.2.30.0170.02711.11
5.2.20.0070.06311.18
5.2.10.0070.02710.95
5.2.00.0100.02310.91
5.1.60.0030.02310.15
5.1.50.0070.05010.13
5.1.40.0070.03710.06
5.1.30.0000.03010.50
5.1.20.0130.04710.51
5.1.10.0000.03010.16
5.1.00.0030.02710.29
5.0.50.0000.0538.75
5.0.40.0070.0238.62
5.0.30.0030.0608.40
5.0.20.0130.0378.37
5.0.10.0000.0508.32
5.0.00.0000.0708.27
4.4.90.0000.0407.92
4.4.80.0000.0377.92
4.4.70.0000.0307.92
4.4.60.0030.0137.92
4.4.50.0000.0177.92
4.4.40.0030.0537.92
4.4.30.0030.0337.92
4.4.20.0030.0207.92
4.4.10.0030.0377.92
4.4.00.0070.0337.92
4.3.110.0000.0277.92
4.3.100.0070.0337.92
4.3.90.0030.0377.92
4.3.80.0030.0537.92
4.3.70.0030.0307.92
4.3.60.0000.0377.92
4.3.50.0000.0237.92
4.3.40.0000.0337.92
4.3.30.0030.0377.92
4.3.20.0070.0337.92
4.3.10.0000.0307.92
4.3.00.0070.0237.92

preferences:
53.31 ms | 401 KiB | 5 Q