3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<OperatingProfile> <RegularDayType> <DaysOfWeek> <Tuesday /> <Wednesday /> <Thursday /> <Friday /> </DaysOfWeek> </RegularDayType> <SpecialDaysOperation> <DaysOfNonOperation> <DateRange> <StartDate>2015-12-24</StartDate> <EndDate>2016-01-01</EndDate> </DateRange> </DaysOfNonOperation> </SpecialDaysOperation> <BankHolidayOperation> <DaysOfNonOperation> <AllBankHolidays /> </DaysOfNonOperation> </BankHolidayOperation> </OperatingProfile>'; $simpleXML = simplexml_load_string($xml); $stuff = $simpleXML->{'BankHolidayOperation'}->{'DaysOfNonOperation'}->xpath('/*'); print_r($stuff);

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.00717.00
8.3.50.0140.00522.30
8.3.40.0140.00719.13
8.3.30.0040.01119.14
8.3.20.0080.00020.58
8.3.10.0040.00424.03
8.3.00.0040.00419.48
8.2.180.0110.00418.66
8.2.170.0150.00622.96
8.2.160.0070.00720.89
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0000.00817.88
8.2.120.0040.00426.35
8.2.110.0090.00022.54
8.2.100.0110.00018.13
8.2.90.0000.00819.55
8.2.80.0030.00517.97
8.2.70.0060.00318.00
8.2.60.0060.00318.30
8.2.50.0000.00818.07
8.2.40.0080.00019.82
8.2.30.0040.00420.98
8.2.20.0050.00318.04
8.2.10.0040.00418.57
8.2.00.0030.00618.45
8.1.280.0000.01425.92
8.1.270.0090.00024.21
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0030.00722.84
8.1.230.0080.00417.73
8.1.220.0000.00818.14
8.1.210.0050.00318.77
8.1.200.0030.00617.50
8.1.190.0040.00418.07
8.1.180.0000.00918.10
8.1.170.0000.00818.93
8.1.160.0000.00822.39
8.1.150.0070.00019.24
8.1.140.0040.00419.87
8.1.130.0000.00718.11
8.1.120.0030.00917.74
8.1.110.0030.00617.78
8.1.100.0000.00717.84
8.1.90.0030.00517.68
8.1.80.0040.00417.81
8.1.70.0040.00417.73
8.1.60.0000.00718.00
8.1.50.0000.00817.75
8.1.40.0030.00517.73
8.1.30.0050.00518.10
8.1.20.0040.00417.94
8.1.10.0040.00418.04
8.1.00.0030.00517.80
8.0.300.0040.00418.77
8.0.290.0070.00017.00
8.0.280.0030.00318.77
8.0.270.0030.00317.64
8.0.260.0000.00717.66
8.0.250.0070.00017.31
8.0.240.0040.00417.40
8.0.230.0080.00017.36
8.0.220.0000.00817.18
8.0.210.0050.00317.22
8.0.200.0030.00617.19
8.0.190.0030.00517.35
8.0.180.0000.00717.27
8.0.170.0050.00317.38
8.0.160.0030.00317.36
8.0.150.0000.00917.12
8.0.140.0030.00717.21
8.0.130.0030.00313.73
8.0.120.0030.00517.16
8.0.110.0000.00717.20
8.0.100.0050.00217.24
8.0.90.0040.00417.33
8.0.80.0060.00917.22
8.0.70.0040.00417.18
8.0.60.0040.00417.30
8.0.50.0000.00717.17
8.0.30.0100.01117.32
8.0.20.0120.01917.45
8.0.10.0000.00717.38
8.0.00.0130.00817.03
7.4.330.0000.00617.10
7.4.320.0080.00016.95
7.4.300.0000.00617.08
7.4.290.0000.00816.99
7.4.280.0000.00816.88
7.4.270.0050.00316.99
7.4.260.0000.00816.76
7.4.250.0020.00516.87
7.4.240.0000.00716.93
7.4.230.0000.00816.73
7.4.220.0120.01217.07
7.4.210.0080.00817.07
7.4.200.0040.00417.01
7.4.160.0040.01216.80
7.4.150.0180.00317.40
7.4.140.0110.00717.86
7.4.130.0090.00916.91
7.4.120.0090.00916.84
7.4.110.0110.00716.76
7.4.100.0070.01616.81
7.4.90.0040.01416.93
7.4.80.0080.00819.39
7.4.70.0070.01017.01
7.4.60.0160.00016.66
7.4.50.0110.00416.96
7.4.40.0060.01516.88
7.4.30.0060.01016.74
7.4.00.0060.00915.16
7.3.330.0000.00513.30
7.3.320.0030.00313.21
7.3.310.0030.00316.35
7.3.300.0060.00016.59
7.3.290.0030.00316.51
7.3.280.0110.00716.52
7.3.270.0090.00917.40
7.3.260.0170.00016.77
7.3.250.0100.00716.66
7.3.240.0100.00716.73
7.3.230.0170.00016.88
7.3.210.0070.01016.86
7.3.200.0060.01016.93
7.3.190.0090.00916.73
7.3.180.0100.00716.57
7.3.170.0100.00716.64
7.3.160.0160.00616.65
7.2.330.0030.02016.61
7.2.320.0140.01017.07
7.2.310.0180.00417.14
7.2.300.0100.01016.88
7.2.290.0080.00816.82
7.2.60.0190.00316.76
7.2.50.0140.00017.01
7.1.200.0050.00515.93
7.1.100.0110.00418.48
7.1.70.0000.00817.04
7.1.60.0070.01719.36
7.1.50.0110.01116.82
7.1.00.0030.07722.70
7.0.200.0060.00616.87
7.0.60.0070.07720.09
7.0.50.0100.08018.03
7.0.40.0070.04720.47
7.0.30.0270.07720.39
7.0.20.0330.07720.41
7.0.10.0070.08020.32
7.0.00.0070.08720.46
5.6.280.0000.08021.25
5.6.210.0100.08020.96
5.6.200.0030.04018.45
5.6.190.0130.05020.86
5.6.180.0130.04320.87
5.6.170.0170.05320.72
5.6.160.0100.03720.75
5.6.150.0070.08318.28
5.6.140.0000.04318.32
5.6.130.0070.05018.35
5.6.120.0030.06021.18
5.6.110.0030.08021.18
5.6.100.0070.08321.25
5.6.90.0100.06721.21
5.6.80.0000.05320.69
5.5.350.0270.07320.66
5.5.340.0030.07718.20
5.5.330.0000.04320.66
5.5.320.0400.08020.47
5.5.310.0170.06320.46
5.5.300.0000.04318.16
5.5.290.0170.07018.20
5.5.280.0030.08321.01
5.5.270.0100.05021.06
5.5.260.0000.04320.95
5.5.250.0130.07720.80
5.5.240.0270.06720.39

preferences:
31.31 ms | 401 KiB | 5 Q