3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new SimpleXMLElement( '<catalogo> <server gruppo="MMM Group" url="http://ltw1303.web.cs.unibo.it"/> <server gruppo="DrittiPerDritti" url="http://ltw1306.web.cs.unibo.it"/> <server gruppo="MGSM" url="http://ltw1308.web.cs.unibo.it"/> </catalogo>'); foreach ($xml->children() as $attributi) { $remoteUrl = $attributi->attributes()->url . "<br>"; echo $remoteUrl; }

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.70.0090.01218.68
8.3.60.0000.01518.43
8.3.50.0120.00721.27
8.3.40.0100.01018.82
8.3.30.0000.01419.35
8.3.20.0060.00320.45
8.3.10.0000.00822.30
8.3.00.0040.00422.69
8.2.190.0120.00318.66
8.2.180.0110.00716.73
8.2.170.0150.00022.96
8.2.160.0110.00720.51
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00826.16
8.2.120.0000.00819.91
8.2.110.0050.00522.25
8.2.100.0110.00019.65
8.2.90.0090.00019.31
8.2.80.0000.00719.46
8.2.70.0030.00617.75
8.2.60.0030.00518.18
8.2.50.0030.00518.07
8.2.40.0070.00018.47
8.2.30.0000.00718.23
8.2.20.0020.00517.88
8.2.10.0040.00417.86
8.2.00.0110.00017.84
8.1.280.0140.00325.92
8.1.270.0080.00020.39
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0030.00624.04
8.1.230.0060.00619.41
8.1.220.0050.00317.80
8.1.210.0030.00618.77
8.1.200.0000.01017.50
8.1.190.0000.00917.66
8.1.180.0080.00019.07
8.1.170.0000.00818.78
8.1.160.0000.00822.35
8.1.150.0040.00418.75
8.1.140.0000.00717.65
8.1.130.0030.00318.00
8.1.120.0050.00217.58
8.1.110.0080.00017.68
8.1.100.0040.00417.62
8.1.90.0060.00417.68
8.1.80.0070.00017.54
8.1.70.0000.00717.69
8.1.60.0030.00617.72
8.1.50.0000.00717.82
8.1.40.0040.00417.59
8.1.30.0040.00417.86
8.1.20.0030.00617.81
8.1.10.0040.00417.69
8.1.00.0070.00417.70
8.0.300.0000.00718.77
8.0.290.0040.00417.41
8.0.280.0070.00018.66
8.0.270.0000.00717.46
8.0.260.0030.00317.07
8.0.250.0040.00417.18
8.0.240.0040.00417.24
8.0.230.0040.00417.21
8.0.220.0000.00717.14
8.0.210.0000.00717.21
8.0.200.0080.00017.10
8.0.190.0030.00517.08
8.0.180.0030.00317.05
8.0.170.0030.00517.18
8.0.160.0070.00017.14
8.0.150.0030.00316.98
8.0.140.0050.00317.09
8.0.130.0030.00313.58
8.0.120.0000.00817.11
8.0.110.0040.00417.06
8.0.100.0050.00317.02
8.0.90.0000.00717.13
8.0.80.0060.01017.23
8.0.70.0050.00217.22
8.0.60.0050.00217.18
8.0.50.0030.00616.87
8.0.30.0080.01117.14
8.0.20.0100.00817.46
8.0.10.0000.00717.23
8.0.00.0090.01016.89
7.4.330.0000.00615.00
7.4.320.0030.00316.73
7.4.300.0030.00316.78
7.4.290.0000.00816.77
7.4.280.0040.00416.77
7.4.270.0000.00716.84
7.4.260.0000.00716.71
7.4.250.0040.00416.85
7.4.240.0030.00416.87
7.4.230.0000.00716.58
7.4.220.0120.00616.88
7.4.210.0070.00816.88
7.4.200.0000.00716.64
7.4.190.0040.00416.78
7.4.160.0160.00016.70
7.4.150.0110.00717.40
7.4.140.0110.01017.86
7.4.130.0100.00716.76
7.4.120.0070.01016.68
7.4.110.0030.01516.54
7.4.100.0100.01016.69
7.4.90.0030.01316.69
7.4.80.0120.00619.39
7.4.70.0060.01316.60
7.4.60.0080.00816.82
7.4.50.0030.00616.65
7.4.40.0030.01222.77
7.4.30.0100.00716.64
7.4.00.0140.00314.92
7.3.330.0060.00013.19
7.3.320.0000.00613.40
7.3.310.0070.00016.32
7.3.300.0070.00016.39
7.3.290.0040.01116.55
7.3.280.0150.00516.44
7.3.270.0070.01017.40
7.3.260.0070.01516.51
7.3.250.0040.01316.55
7.3.240.0120.01216.95
7.3.230.0090.00916.39
7.3.210.0090.00816.42
7.3.200.0060.01319.39
7.3.190.0120.00916.69
7.3.180.0030.01316.58
7.3.170.0070.01016.76
7.3.160.0100.01316.68
7.3.120.0060.00614.83
7.2.330.0140.00416.67
7.2.320.0070.01316.72
7.2.310.0130.00916.67
7.2.300.0100.00616.98
7.2.290.0060.01016.71
7.2.00.0000.01219.80
7.1.70.0000.00817.40
7.1.60.0000.01117.18
7.1.50.0160.01017.08
7.1.00.0000.06022.59
7.0.200.0090.00316.70
7.0.140.0070.07022.25
7.0.60.0100.07319.88
7.0.50.0130.06717.95
7.0.40.0100.08720.38
7.0.30.0270.06720.28
7.0.20.0370.07320.14
7.0.10.0170.04020.40
7.0.00.0070.08720.40
5.6.280.0000.07721.00
5.6.210.0100.08320.56
5.6.200.0030.05718.20
5.6.190.0070.04720.80
5.6.180.3930.04320.47
5.6.170.0330.06320.61
5.6.160.0000.04320.51
5.6.150.0030.04318.32
5.6.140.0130.07318.25
5.6.130.0130.07318.25
5.6.120.0170.07721.00
5.6.110.0100.07021.20
5.6.100.0030.09021.19
5.6.90.0100.08321.02
5.6.80.0030.05720.59
5.6.70.0170.07720.56
5.5.350.0270.07320.56
5.5.340.0100.08018.09
5.5.330.0070.09020.62
5.5.320.0200.04720.31
5.5.310.0270.06720.35
5.5.300.0070.08018.02
5.5.290.0070.04018.02
5.5.280.0030.04321.00
5.5.270.0070.03720.86
5.5.260.0100.08320.93
5.5.250.0030.08320.62
5.5.240.0070.04320.40
5.4.450.0800.06319.23
5.4.440.1000.07719.55
5.4.430.0730.06319.65
5.4.420.0770.06019.33
5.4.410.0830.06319.58
5.4.400.0400.05318.82
5.4.390.0300.06318.79
5.4.380.0270.06018.85
5.4.370.0130.05318.72
5.4.360.0170.05018.82
5.4.350.0120.04512.13
5.4.340.0030.04712.12
5.4.320.0060.03712.61
5.4.310.0080.03912.61
5.4.300.0040.03812.61
5.4.290.0040.04812.61
5.4.280.0050.03512.50
5.4.270.0080.04512.50
5.4.260.0070.04712.50
5.4.250.0070.05318.96
5.4.240.0070.05319.23
5.4.230.0130.04719.13
5.4.220.0170.04319.23
5.4.210.0030.07018.91
5.4.200.0070.05018.90
5.4.190.0070.07318.88
5.4.180.0030.06018.86
5.4.170.0030.05718.78
5.4.160.0000.06319.21
5.4.150.0130.05018.75
5.4.140.0130.05016.40
5.4.130.0030.05016.42
5.4.120.0030.05716.57
5.4.110.0100.05016.67
5.4.100.0070.07016.52
5.4.90.0070.06016.70
5.4.80.0230.04316.34
5.4.70.0170.06316.30
5.4.60.0070.05316.58
5.4.50.0030.05316.67
5.4.40.0070.04716.62
5.4.30.0100.04716.50
5.4.20.0030.05016.65
5.4.10.0000.05716.67
5.4.00.0070.04715.86
5.3.290.0060.04212.88
5.3.280.0030.05314.65
5.3.270.0170.06314.61
5.3.260.0070.05314.69
5.3.250.0070.05314.69
5.3.240.0130.05014.68
5.3.230.0030.05314.64
5.3.220.0000.06014.65
5.3.210.0030.06014.65
5.3.200.0100.04714.55
5.3.190.0000.06014.73
5.3.180.0030.05314.39
5.3.170.0170.06714.64
5.3.160.0030.05714.66
5.3.150.0130.07014.68
5.3.140.0070.05014.67
5.3.130.0070.05314.51
5.3.120.0070.06014.51
5.3.110.0100.07314.55
5.3.100.0070.05314.16
5.3.90.0170.04314.18
5.3.80.0170.04014.11
5.3.70.0070.05013.85
5.3.60.0070.05014.07
5.3.50.0000.05314.07
5.3.40.0000.05314.03
5.3.30.0030.07713.96
5.3.20.0070.04713.77
5.3.10.0000.06013.87
5.3.00.0000.05713.68
5.2.170.0070.04011.36
5.2.160.0100.03711.16
5.2.150.0030.04311.16
5.2.140.0000.04311.05
5.2.130.0100.03311.32
5.2.120.0070.04311.18
5.2.110.0030.04011.21
5.2.100.0100.03310.99
5.2.90.0000.04311.33
5.2.80.0030.04011.12
5.2.70.0000.04311.15
5.2.60.0070.04011.12
5.2.50.0070.04011.24
5.2.40.0070.03711.03
5.2.30.0130.05010.96
5.2.20.0100.05011.01
5.2.10.0100.03310.97
5.2.00.0100.03310.86
5.1.60.0100.02710.07
5.1.50.0030.04010.25
5.1.40.0000.04010.07
5.1.30.0130.03310.48
5.1.20.0030.03710.39
5.1.10.0070.04710.17
5.1.00.0000.04010.20
5.0.50.0000.0308.64
5.0.40.0000.0308.51
5.0.30.0030.0408.52
5.0.20.0070.0338.41
5.0.10.0000.0338.13
5.0.00.0000.0438.33
4.4.90.0000.0235.77
4.4.80.0000.0236.46
4.4.70.0030.0206.46
4.4.60.0000.0236.46
4.4.50.0030.0206.46
4.4.40.0100.0376.46
4.4.30.0000.0236.46
4.4.20.0130.0236.46
4.4.10.0000.0306.46
4.4.00.0000.0376.46
4.3.110.0030.0206.46
4.3.100.0030.0306.46
4.3.90.0000.0206.46
4.3.80.0030.0336.46
4.3.70.0070.0176.46
4.3.60.0030.0176.46
4.3.50.0070.0176.46
4.3.40.0130.0276.46
4.3.30.0070.0176.46
4.3.20.0000.0236.46
4.3.10.0070.0176.46
4.3.00.0170.0238.37

preferences:
37.1 ms | 401 KiB | 5 Q