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 $child) { $role = $child->attributes(); foreach($child as $key => $value) { if($role == "DrittiPerDritti") echo("[".$key ."] ".$value . "<br />"); } }

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.0100.00716.88
8.3.50.0040.01421.39
8.3.40.0100.01018.92
8.3.30.0130.00320.29
8.3.20.0070.00720.45
8.3.10.0030.00522.15
8.3.00.0030.00622.69
8.2.180.0080.01516.49
8.2.170.0110.00422.96
8.2.160.0030.01022.42
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00420.89
8.2.110.0090.00022.38
8.2.100.0120.00018.03
8.2.90.0070.00019.30
8.2.80.0030.00619.54
8.2.70.0040.00417.75
8.2.60.0000.00818.18
8.2.50.0000.00918.07
8.2.40.0050.00320.07
8.2.30.0000.00719.63
8.2.20.0030.00617.76
8.2.10.0040.00417.89
8.2.00.0040.00417.77
8.1.280.0040.01125.92
8.1.270.0070.00023.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0140.00323.95
8.1.230.0090.00319.27
8.1.220.0080.00017.80
8.1.210.0050.00318.77
8.1.200.0040.00417.48
8.1.190.0000.00817.66
8.1.180.0050.00318.10
8.1.170.0040.00418.77
8.1.160.0050.00518.99
8.1.150.0040.00418.85
8.1.140.0110.00017.61
8.1.130.0070.00017.97
8.1.120.0040.00417.56
8.1.110.0070.00017.68
8.1.100.0000.00817.59
8.1.90.0000.00717.71
8.1.80.0030.00517.75
8.1.70.0030.00317.51
8.1.60.0060.00317.59
8.1.50.0000.00717.74
8.1.40.0030.00517.62
8.1.30.0030.00517.87
8.1.20.0080.00017.72
8.1.10.0050.00317.80
8.1.00.0040.00417.75
8.0.300.0090.00018.96
8.0.290.0040.00417.43
8.0.280.0030.00318.53
8.0.270.0000.00717.35
8.0.260.0030.00317.02
8.0.250.0000.00717.11
8.0.240.0000.00817.11
8.0.230.0050.00317.05
8.0.220.0030.00316.97
8.0.210.0000.00717.12
8.0.200.0000.00717.22
8.0.190.0050.00317.05
8.0.180.0000.00717.18
8.0.170.0030.00617.16
8.0.160.0040.00417.16
8.0.150.0020.00516.91
8.0.140.0030.00517.11
8.0.130.0050.00013.53
8.0.120.0030.00516.98
8.0.110.0000.00717.14
8.0.100.0000.00716.88
8.0.90.0060.00317.14
8.0.80.0120.00917.02
8.0.70.0040.00417.16
8.0.60.0030.00517.01
8.0.50.0000.00716.95
8.0.30.0070.01217.53
8.0.20.0140.00517.40
8.0.10.0030.00517.22
8.0.00.0050.01316.99
7.4.330.0000.00615.21
7.4.320.0060.00016.69
7.4.300.0030.00316.87
7.4.290.0030.00316.72
7.4.280.0030.00316.82
7.4.270.0030.00316.70
7.4.260.0050.00013.41
7.4.250.0070.00016.80
7.4.240.0030.00416.75
7.4.230.0000.00716.81
7.4.220.0080.00816.68
7.4.210.0070.01116.79
7.4.200.0000.00716.68
7.4.190.0000.00716.59
7.4.160.0030.01216.89
7.4.150.0060.01017.40
7.4.140.0070.01017.86
7.4.130.0150.00216.66
7.4.120.0150.00516.66
7.4.110.0140.01016.74
7.4.100.0150.00316.73
7.4.90.0090.00916.77
7.4.80.0100.00719.39
7.4.70.0100.00716.73
7.4.60.0140.00316.68
7.4.50.0060.00316.52
7.4.40.0140.00022.77
7.4.30.0100.01016.70
7.4.00.0090.00915.04
7.3.330.0050.00013.37
7.3.320.0050.00013.37
7.3.310.0060.00016.40
7.3.300.0000.00716.45
7.3.290.0060.00816.50
7.3.280.0090.00716.46
7.3.270.0110.00717.40
7.3.260.0060.01416.44
7.3.250.0050.01216.62
7.3.240.0080.00816.74
7.3.230.0100.01316.82
7.3.210.0160.00316.67
7.3.200.0070.01119.39
7.3.190.0160.00316.81
7.3.180.0130.00916.49
7.3.170.0090.00616.48
7.3.160.0100.00616.65
7.3.120.0090.00615.01
7.3.10.0050.00716.63
7.3.00.0090.00516.82
7.2.330.0070.01116.79
7.2.320.0100.00616.80
7.2.310.0060.01216.66
7.2.300.0080.00816.98
7.2.290.0080.00816.92
7.2.130.0080.00716.75
7.2.120.0030.00816.90
7.2.110.0100.00616.96
7.2.100.0060.01016.96
7.2.90.0060.00916.94
7.2.80.0030.01216.93
7.2.70.0080.00816.95
7.2.60.0090.00416.97
7.2.50.0060.00616.90
7.2.40.0050.00917.07
7.2.30.0080.00716.98
7.2.20.0100.00516.95
7.2.10.0140.00517.06
7.2.00.0090.00617.01
7.1.250.0030.01015.70
7.1.240.0000.00715.64
7.1.230.0030.01315.64
7.1.220.0030.01315.72
7.1.210.0050.00515.61
7.1.200.0070.00715.69
7.1.190.0040.00415.65
7.1.180.0070.00715.84
7.1.170.0070.00715.40
7.1.160.0080.00815.84
7.1.150.0030.01015.52
7.1.140.0040.00815.88
7.1.130.0100.00315.58
7.1.120.0030.01215.42
7.1.110.0070.00315.82
7.1.100.0080.00315.86
7.1.90.0130.00315.77
7.1.80.0030.00615.73
7.1.70.0050.00516.34
7.1.60.0080.00416.32
7.1.50.0070.00816.32
7.1.40.0030.01015.56
7.1.30.0070.00715.72
7.1.20.0070.00715.56
7.1.10.0000.00915.83
7.1.00.0040.02819.09
7.0.330.0030.01215.42
7.0.320.0070.00715.36
7.0.310.0130.00715.28
7.0.300.0120.00615.07
7.0.290.0030.00615.36
7.0.280.0040.01115.64
7.0.270.0100.00315.32
7.0.260.0130.00315.54
7.0.250.0100.00615.25
7.0.240.0060.00915.29
7.0.230.0000.01115.42
7.0.220.0150.00015.19
7.0.210.0080.00815.41
7.0.200.0120.00316.04
7.0.190.0000.01015.36
7.0.180.0030.01315.38
7.0.170.0090.00015.42
7.0.160.0030.01015.41
7.0.150.0070.01015.45
7.0.140.0040.04018.74
7.0.130.0090.00314.94
7.0.120.0060.00615.32
7.0.110.0030.00715.53
7.0.100.0100.04017.68
7.0.90.0110.04517.69
7.0.80.0080.02517.67
7.0.70.0170.02517.68
7.0.60.0070.04517.64
7.0.50.0130.04118.13
7.0.40.0090.04016.78
7.0.30.0050.04816.87
7.0.20.0090.03516.92
7.0.10.0090.04516.80
7.0.00.0100.04816.87
5.6.380.0060.01014.22
5.6.370.0030.01014.29
5.6.360.0100.00314.46
5.6.350.0150.00414.33
5.6.340.0020.00714.26
5.6.330.0060.00614.36
5.6.320.0110.00314.40
5.6.310.0070.00714.40
5.6.300.0070.00714.12
5.6.290.0100.00714.22
5.6.280.0050.03917.77
5.6.270.0040.00814.15
5.6.260.0070.00714.31
5.6.250.0100.04017.45
5.6.240.0070.03617.46
5.6.230.0030.03317.74
5.6.220.0120.03017.63
5.6.210.0100.04517.57
5.6.200.0100.04617.88
5.6.190.0100.04017.80
5.6.180.0050.05217.71
5.6.170.0140.04717.67
5.6.160.0120.04317.82
5.6.150.0090.04517.72
5.6.140.0060.03017.70
5.6.130.0100.03817.58
5.6.120.0120.04317.75
5.6.110.0110.03517.72
5.6.100.0060.05117.87
5.6.90.0140.02717.81
5.6.80.0030.03317.36
5.6.70.0050.04817.29
5.6.60.0170.03817.34
5.6.50.0130.04217.63
5.6.40.0150.03317.40
5.6.30.0140.04317.52
5.6.20.0180.04317.38
5.6.10.0180.03217.40
5.6.00.0220.02217.33
5.5.380.0110.03515.72
5.5.370.0100.04016.00
5.5.360.0080.04615.88
5.5.350.0110.03815.71
5.5.340.0130.04515.96
5.5.330.0110.04716.04
5.5.320.0150.03315.94
5.5.310.0160.02315.98
5.5.300.0170.03715.88
5.5.290.0130.03715.99
5.5.280.0160.04715.80
5.5.270.0170.03515.87
5.5.260.0200.04115.98
5.5.250.0100.04415.60
5.5.240.0110.04115.52
5.5.230.0110.03115.72
5.5.220.0180.02815.81
5.5.210.0090.04315.57
5.5.200.0060.04615.58
5.5.190.0180.04015.58
5.5.180.0190.04515.61
5.5.170.0140.00810.83
5.5.160.0100.02515.64
5.5.150.0090.02815.70
5.5.140.0080.02315.59
5.5.130.0060.02115.42
5.5.120.0030.02515.53
5.5.110.0080.02615.57
5.5.100.0130.02015.56
5.5.90.0130.02215.53
5.5.80.0080.01915.57
5.5.70.0080.02615.55
5.5.60.0120.01815.52
5.5.50.0140.04415.32
5.5.40.0070.02715.60
5.5.30.0160.02015.55
5.5.20.0080.02915.45
5.5.10.0060.02415.40
5.5.00.0090.02015.46
5.4.450.0050.03215.36
5.4.440.0140.04115.28
5.4.430.0060.04415.22
5.4.420.0140.03515.35
5.4.410.0000.02815.26
5.4.400.0080.04014.86
5.4.390.0160.04215.25
5.4.380.0100.04715.21
5.4.370.0030.04015.02
5.4.360.0060.04214.85
5.4.350.0130.03515.05
5.4.340.0100.02515.08
5.4.330.0080.00310.90
5.4.320.0120.02014.98
5.4.310.0090.02114.97
5.4.300.0090.02015.07
5.4.290.0120.01915.13
5.4.280.0080.02015.10
5.4.270.0020.02414.93
5.4.260.0090.02215.23
5.4.250.0040.02315.06
5.4.240.0090.02515.06
5.4.230.0130.01714.98
5.4.220.0110.03714.72
5.4.210.0040.02514.87
5.4.200.0060.02314.87
5.4.190.0130.03715.13
5.4.180.0060.03114.91
5.4.170.0050.02914.91
5.4.160.0050.02115.10
5.4.150.0020.02414.99
5.4.140.0060.02113.78
5.4.130.0050.02013.68
5.4.120.0050.02013.68
5.4.110.0040.02413.79
5.4.100.0050.02013.79
5.4.90.0060.01813.52
5.4.80.0020.02513.73
5.4.70.0060.02013.81
5.4.60.0060.02013.55
5.4.50.0070.01813.69
5.4.40.0060.01813.67
5.4.30.0050.01913.66
5.4.20.0030.02113.72
5.4.10.0050.02413.64
5.4.00.0040.01713.47
5.3.290.0070.02213.04
5.3.280.0020.02412.97
5.3.270.0050.04313.08
5.3.260.0030.02013.11
5.3.250.0090.02613.09
5.3.240.0030.02113.03
5.3.230.0070.03513.06
5.3.220.0050.02212.91
5.3.210.0050.02312.91
5.3.200.0060.02013.00
5.3.190.0050.02413.03
5.3.180.0050.01813.01
5.3.170.0080.02013.11
5.3.160.0020.02313.10
5.3.150.0050.02313.10
5.3.140.0020.02513.12
5.3.130.0040.02213.06
5.3.120.0050.02213.10
5.3.110.0080.02213.09
5.3.100.0040.02213.03
5.3.90.0060.02013.07
5.3.80.0040.02013.04
5.3.70.0080.02013.02
5.3.60.0080.02113.08
5.3.50.0060.01813.05
5.3.40.0060.02013.02
5.3.30.0050.01813.02
5.3.20.0060.02113.07
5.3.10.0060.01612.83
5.3.00.0030.02212.94
5.2.170.0020.02012.56
5.2.160.0050.01612.57
5.2.150.0030.01812.58
5.2.140.0090.00812.58
5.2.130.0050.01312.42
5.2.120.0030.02012.56
5.2.110.0030.01812.52
5.2.100.0010.01612.45
5.2.90.0000.01912.44
5.2.80.0030.02012.43
5.2.70.0050.01512.46
5.2.60.0050.02012.46
5.2.50.0080.03312.54
5.2.40.0070.03112.54
5.2.30.0050.03712.37
5.2.20.0030.01612.42
5.2.10.0040.02812.45
5.2.00.0080.03012.37
5.1.60.0090.02712.10
5.1.50.0050.02612.12
5.1.40.0040.02712.02
5.1.30.0040.01912.07
5.1.20.0000.03612.18
5.1.10.0070.01812.09
5.1.00.0100.02312.05
5.0.50.0030.02511.67
5.0.40.0110.01811.66
5.0.30.0030.03111.66
5.0.20.0050.02311.66
5.0.10.0040.02411.66
5.0.00.0120.02811.66
4.4.90.0030.00711.66
4.4.80.0020.01511.66
4.4.70.0020.02011.66
4.4.60.0020.02311.66
4.4.50.0040.00811.66
4.4.40.0020.03011.66
4.4.30.0020.01711.66
4.4.20.0020.01511.66
4.4.10.0010.02011.66
4.4.00.0020.03011.66
4.3.110.0030.01511.66
4.3.100.0060.01011.66
4.3.90.0030.01811.66
4.3.80.0040.02011.66
4.3.70.0010.02011.66
4.3.60.0030.01311.66
4.3.50.0030.02011.66
4.3.40.0000.02811.66
4.3.30.0000.02311.66
4.3.20.0050.01811.66
4.3.10.0050.01711.66
4.3.00.0020.01911.66

preferences:
45.19 ms | 400 KiB | 5 Q