3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = "<root> <URL>https://pdt.multimediarepository.testing.amadeus.com/cmr/retrieve/hotel/0404104C5B6E42CCAFE3E7F3083F6666/A</URL><URL>https://pdt.multimediarepository.testing.amadeus.com/cmr/retrieve/hotel/0404104C5B6E42CCAFE3E7F3083F6666/B</URL>"; $xml = simplexml_load_string( $xml); foreach( $xml->xpath( './/URL') as $child) { echo $child . "\n"; }

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.0140.00718.68
8.3.50.0070.01321.21
8.3.40.0070.00718.96
8.3.30.0030.01020.59
8.3.20.0070.00022.52
8.3.10.0040.00422.42
8.3.00.0070.00022.68
8.2.180.0150.00316.63
8.2.170.0150.00022.96
8.2.160.0130.00722.34
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00021.04
8.2.110.0130.00620.77
8.2.100.0090.00317.99
8.2.90.0040.00419.39
8.2.80.0040.00419.43
8.2.70.0080.00017.88
8.2.60.0060.00318.05
8.2.50.0040.00418.07
8.2.40.0060.00618.13
8.2.30.0040.00419.62
8.2.20.0000.00718.03
8.2.10.0050.00217.98
8.2.00.0040.00417.84
8.1.280.0070.00725.92
8.1.270.0050.00323.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.01122.59
8.1.230.0120.00021.02
8.1.220.0080.00018.77
8.1.210.0030.00619.00
8.1.200.0060.00317.48
8.1.190.0000.00817.93
8.1.180.0080.00018.10
8.1.170.0000.00818.90
8.1.160.0080.00019.12
8.1.150.0050.00218.66
8.1.140.0050.00317.55
8.1.130.0030.00318.17
8.1.120.0040.00417.60
8.1.110.0040.00417.54
8.1.100.0000.00717.59
8.1.90.0040.00417.68
8.1.80.0070.00017.61
8.1.70.0000.00717.61
8.1.60.0040.00417.64
8.1.50.0000.00817.76
8.1.40.0040.00417.85
8.1.30.0050.00317.79
8.1.20.0040.00417.72
8.1.10.0000.00817.87
8.1.00.0080.00017.65
8.0.300.0000.00720.21
8.0.290.0000.00717.05
8.0.280.0000.00718.60
8.0.270.0000.00717.27
8.0.260.0030.00316.99
8.0.250.0030.00317.14
8.0.240.0000.00817.23
8.0.230.0050.00217.12
8.0.220.0040.00417.07
8.0.210.0000.00817.13
8.0.200.0000.00717.11
8.0.190.0040.00417.16
8.0.180.0000.00717.12
8.0.170.0040.00417.13
8.0.160.0040.00416.99
8.0.150.0040.00417.10
8.0.140.0050.00216.96
8.0.130.0060.00313.64
8.0.120.0000.00816.97
8.0.110.0040.00417.13
8.0.100.0080.00017.04
8.0.90.0000.00817.16
8.0.80.0120.00917.04
8.0.70.0040.00417.21
8.0.60.0040.00417.09
8.0.50.0040.00417.00
8.0.30.0060.01417.30
8.0.20.0070.01317.40
8.0.10.0040.00417.11
8.0.00.0120.00716.99
7.4.330.0040.00415.30
7.4.320.0030.00316.71
7.4.300.0070.00016.84
7.4.290.0030.00316.71
7.4.280.0070.00016.63
7.4.270.0000.00716.78
7.4.260.0060.00013.49
7.4.250.0000.00816.78
7.4.240.0050.00216.74
7.4.230.0030.00316.76
7.4.220.0060.01316.70
7.4.210.0060.00816.74
7.4.200.0070.00016.78
7.4.190.0030.00316.74
7.4.160.0100.00716.84
7.4.150.0100.00717.40
7.4.140.0080.01317.86
7.4.130.0090.00816.81
7.4.120.0140.00816.79
7.4.110.0130.00716.73
7.4.100.0140.00316.59
7.4.90.0120.00616.77
7.4.80.0090.01019.39
7.4.70.0090.00616.79
7.4.60.0060.01016.79
7.4.50.0040.00416.54
7.4.40.0030.00822.77
7.4.30.0210.00016.72
7.4.00.0060.00915.13
7.3.330.0050.00013.35
7.3.320.0000.00513.44
7.3.310.0000.00716.50
7.3.300.0000.00716.39
7.3.290.0040.01116.48
7.3.280.0040.01316.49
7.3.270.0170.00317.40
7.3.260.0040.01316.48
7.3.250.0120.00916.50
7.3.240.0120.00416.46
7.3.230.0090.00916.53
7.3.210.0040.01416.65
7.3.200.0100.01019.39
7.3.190.0090.00916.77
7.3.180.0100.00716.69
7.3.170.0170.00316.53
7.3.160.0080.00816.80
7.3.120.0040.01114.82
7.2.330.0070.01116.91
7.2.320.0170.00016.88
7.2.310.0170.00716.87
7.2.300.0080.00816.77
7.2.290.0030.01416.70
7.2.60.0090.00316.87
7.2.00.0000.01219.36
7.1.200.0120.00315.57
7.1.100.0060.00618.34
7.1.70.0040.00416.94
7.1.60.0000.01119.21
7.1.50.0200.02035.01
7.1.00.0070.03022.58
7.0.200.0030.00316.87
7.0.140.0070.07022.15
7.0.60.0130.03320.10
7.0.50.0170.03317.87
7.0.40.0070.06020.33
7.0.30.0300.07720.29
7.0.20.0330.07320.24
7.0.10.0070.05020.23
7.0.00.0170.07020.37
5.6.280.0100.06321.15
5.6.210.0030.07020.88
5.6.200.0070.08718.19
5.6.190.0000.05720.76
5.6.180.0270.08320.49
5.6.170.0170.08320.60
5.6.160.0070.07720.56
5.6.150.0100.04318.27
5.6.140.0070.04018.29
5.6.130.0070.04718.24
5.6.120.0170.05321.07
5.6.110.0070.08721.08
5.6.100.0000.05321.09
5.6.90.0100.08321.15
5.6.80.0070.04020.57
5.5.350.3170.03320.44
5.5.340.0070.05018.02
5.5.330.0070.08320.64
5.5.320.0200.07320.50
5.5.310.0130.04020.46
5.5.300.0100.08318.13
5.5.290.0130.07718.09
5.5.280.0100.07021.01
5.5.270.0070.06020.77
5.5.260.0030.07320.91
5.5.250.0000.08020.69
5.5.240.0300.07320.36
5.4.450.2870.04719.45
5.4.440.3170.04019.39
5.4.430.3200.04019.55
5.4.420.3070.04019.46
5.4.410.3100.04019.26
5.4.400.2770.03719.31
5.4.390.3330.03719.02
5.4.380.3170.03019.19
5.4.370.3370.04019.07
5.4.360.3400.03319.07
5.4.350.3070.04319.16
5.4.340.3370.03719.28
5.4.320.3230.03719.18
5.4.310.3530.03319.27
5.4.300.3300.02719.06
5.4.290.3200.04019.30
5.4.280.3330.03719.26
5.4.270.3130.04019.15
5.4.260.3070.03719.15
5.4.250.3400.03319.22
5.4.240.3270.03719.30
5.4.230.3130.03719.18
5.4.220.3400.03719.12
5.4.210.3100.04719.18
5.4.200.3370.03719.00
5.4.190.3400.03319.20
5.4.180.3030.04019.23
5.4.170.3430.03019.01
5.4.160.3070.03719.16
5.4.150.3100.04019.21
5.4.140.3370.03716.45
5.4.130.3230.04016.47
5.4.120.3500.04316.71
5.4.110.3330.03316.40
5.4.100.3170.03316.58
5.4.90.3400.03316.40
5.4.80.3300.03016.66
5.4.70.3400.03716.65
5.4.60.3200.03316.68
5.4.50.3370.03716.67
5.4.40.3530.04016.61
5.4.30.3500.03016.52
5.4.20.3570.04716.45
5.4.10.3370.03716.37
5.4.00.3570.03716.03
5.3.290.2700.04714.66
5.3.280.3070.03714.77
5.3.270.3430.04014.60
5.3.260.3400.03714.62
5.3.250.3000.04014.60
5.3.240.3270.03314.60
5.3.230.3600.04014.65
5.3.220.3400.04014.65
5.3.210.3230.03314.81
5.3.200.2000.03314.65
5.3.190.3130.03314.61
5.3.180.3200.03314.71
5.3.170.1830.03014.59
5.3.160.2600.02714.62
5.3.150.2130.03714.66
5.3.140.2200.04314.79
5.3.130.3100.04014.59
5.3.120.2730.04014.73
5.3.110.3130.03714.59
5.3.100.2700.03014.23
5.3.90.2170.04014.03
5.3.80.2470.04314.02
5.3.70.2230.03714.05
5.3.60.2200.04014.20
5.3.50.2500.03014.03
5.3.40.2030.03314.09
5.3.30.2230.03314.01
5.3.20.2700.03313.67
5.3.10.2870.03013.68
5.3.00.3100.03713.84
5.2.170.2800.03011.77
5.2.160.2830.03011.77
5.2.150.2770.03011.77
5.2.140.2530.03011.77
5.2.130.3030.02711.77
5.2.120.2770.02711.77
5.2.110.2930.03011.77
5.2.100.2830.03311.77
5.2.90.2770.03311.77
5.2.80.2570.02711.77
5.2.70.2570.03011.77
5.2.60.2230.03311.77
5.2.50.2900.02011.77
5.2.40.2370.02311.77
5.2.30.2370.02711.77
5.2.20.2230.03011.77
5.2.10.2270.03011.77
5.2.00.2330.02311.77
5.1.60.2300.02311.77
5.1.50.2430.02011.77
5.1.40.2400.02011.77
5.1.30.2070.02011.77
5.1.20.2270.02711.77
5.1.10.2300.02711.77
5.1.00.2330.02311.77
5.0.50.1270.02711.77
5.0.40.1270.02011.77
5.0.30.1270.03311.77
5.0.20.1270.02011.77
5.0.10.1300.02011.77
5.0.00.1370.02711.77
4.4.90.1300.01711.77
4.4.80.1270.01311.77
4.4.70.1100.01711.77
4.4.60.1070.01711.77
4.4.50.0500.03711.77
4.4.40.1000.02711.77
4.4.30.1100.01011.77
4.4.20.1300.02011.77
4.4.10.1270.01311.77
4.4.00.1270.02711.77
4.3.110.1670.01011.77
4.3.100.1230.01311.77
4.3.90.1330.01311.77
4.3.80.1270.03311.77
4.3.70.1430.01711.77
4.3.60.1230.02011.77
4.3.50.1130.02011.77
4.3.40.1100.02311.77
4.3.30.0670.02011.77
4.3.20.0700.02711.77
4.3.10.0700.02711.77
4.3.00.0570.01711.77

preferences:
47.51 ms | 401 KiB | 5 Q