3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oPricingInfoNode = new DOMDocument(); $oPricingInfoNode->loadXML(' <air:AirSegment xmlns:air="http://www.travelport.com/schema/air_v22_0" xmlns:com="http://www.travelport.com/schema/common_v19_0" Key="2T" Group="0" Origin="BRU" Destination="MAD" Carrier="IB" FlightNumber="3205" ClassOfService="P" DepartureTime="2014-02-18T19:10:00.000+01:00" ArrivalTime="2014-02-18T21:40:00.000+01:00" ProviderCode="1P" /> <air:AirSegment Key="3T" Group="1" Origin="MAD" Destination="BRU" Carrier="IB" FlightNumber="3214" ClassOfService="P" DepartureTime="2014-02-24T15:55:00.000+01:00" ArrivalTime="2014-02-24T18:25:00.000+01:00" ProviderCode="1P" /> <air:AirPricingInfo Key="4T" TotalPrice="EUR50.99" BasePrice="EUR2.00" ApproximateTotalPrice="EUR50.99" ApproximateBasePrice="EUR2.0 0" Taxes="EUR48.99" LatestTicketingTime="2013-10-27T23:59:00.000+00:00" PricingMethod="Auto" ProviderCode="1P"> <air:AirPricingModifiers FaresIndicator="PublicAndPrivateFares" /> <air:FareInfo Key="6T" FareBasis="PBE604K" PassengerTypeCode="ADT" Origin="BRU" Destination="MAD" EffectiveDate="2013-10-26T20:36: 45.370+02:00" Amount="NUC1.31"> <air:FareRuleKey FareInfoRef="6T" ProviderCode="1P">3Dxtd/jsY9Lo40qgTiQTot3Ga9aZj+SyHmN4mO25YCrug9CQWuP+X2+oD5t4/MZlfXbbvYG4TG43 VNwAhz2PnWmWLv0xpQB8</air:FareRuleKey> </air:FareInfo> <air:FareInfo Key="7T" FareBasis="PBE604K" PassengerTypeCode="ADT" Origin="MAD" Destination="BRU" EffectiveDate="2013-10-26T20:36: 45.370+02:00" Amount="NUC1.31"> <air:FareRuleKey FareInfoRef="7T" ProviderCode="1P">3Dxtd/jsY9Lo40qgTiQTot3Ga9aZj+Syda+Y0VQMYBHug9CQWuP+X2+oD5t4/MZlfXbbvYG4TG43 VNwAhz2PnWmWLv0xpQB8</air:FareRuleKey> </air:FareInfo> <air:BookingInfo BookingCode="P" FareInfoRef="6T" SegmentRef="2T" Origin="BRU" Destination="MAD" /> <air:BookingInfo BookingCode="P" FareInfoRef="7T" SegmentRef="3T" Origin="MAD" Destination="BRU" /> </air:AirPricingInfo>');

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.0120.00618.56
8.3.50.0140.00522.05
8.3.40.0150.00618.72
8.3.30.0110.00320.56
8.3.20.0030.00618.88
8.3.10.0080.00021.06
8.3.00.0040.00419.93
8.2.180.0090.00616.75
8.2.170.0090.00622.96
8.2.160.0070.00720.64
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00720.02
8.2.110.0070.00319.73
8.2.100.0040.00718.16
8.2.90.0000.00819.42
8.2.80.0000.00917.97
8.2.70.0130.00517.63
8.2.60.0030.00518.04
8.2.50.0080.00018.07
8.2.40.0050.00318.47
8.2.30.0000.00719.70
8.2.20.0000.00817.87
8.2.10.0040.00417.76
8.2.00.0000.01017.90
8.1.280.0160.00625.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00021.50
8.1.230.0070.00417.70
8.1.220.0070.00317.89
8.1.210.0030.00518.77
8.1.200.0060.00317.47
8.1.190.0040.00417.48
8.1.180.0000.00818.10
8.1.170.0030.00618.63
8.1.160.0000.00719.20
8.1.150.0040.00418.87
8.1.140.0060.00317.63
8.1.130.0070.00018.09
8.1.120.0070.00317.48
8.1.110.0030.00517.68
8.1.100.0030.00317.55
8.1.90.0000.00717.68
8.1.80.0040.00417.64
8.1.70.0030.00317.49
8.1.60.0050.00317.58
8.1.50.0080.00017.47
8.1.40.0040.00417.72
8.1.30.0000.00717.71
8.1.20.0000.00817.68
8.1.10.0000.00717.73
8.1.00.0020.00517.54
8.0.300.0000.00818.77
8.0.290.0070.00016.88
8.0.280.0070.00018.56
8.0.270.0000.00817.38
8.0.260.0030.00317.04
8.0.250.0000.00817.21
8.0.240.0050.00317.07
8.0.230.0030.00317.20
8.0.220.0000.00717.02
8.0.210.0050.00516.96
8.0.200.0000.00817.00
8.0.190.0050.00217.22
8.0.180.0000.00817.14
8.0.170.0000.00717.20
8.0.160.0030.00516.99
8.0.150.0040.00416.89
8.0.140.0040.00317.11
8.0.130.0050.00013.53
8.0.120.0050.00216.99
8.0.110.0030.00516.98
8.0.100.0040.00416.96
8.0.90.0000.00717.06
8.0.80.0060.00917.09
8.0.70.0070.00017.04
8.0.60.0000.00717.04
8.0.50.0040.00417.08
8.0.30.0050.01317.23
8.0.20.0050.01317.40
8.0.10.0050.00317.20
8.0.00.0150.01016.95
7.4.330.0050.00017.00
7.4.320.0060.00016.63
7.4.300.0030.00316.64
7.4.290.0030.00316.76
7.4.280.0000.00616.57
7.4.270.0040.00416.79
7.4.260.0000.00513.54
7.4.250.0000.00716.70
7.4.240.0000.00716.59
7.4.230.0000.00716.70
7.4.220.0060.01216.80
7.4.210.0060.01016.68
7.4.200.0000.00716.72
7.4.190.0070.00016.82
7.4.160.0160.00316.54
7.4.150.0060.01317.40
7.4.140.0110.01117.86
7.4.130.0110.00716.63
7.4.120.0070.01116.59
7.4.110.0090.01216.66
7.4.100.0130.00316.73
7.4.90.0200.00316.60
7.4.80.0030.01619.39
7.4.70.0100.00616.56
7.4.60.0090.00916.62
7.4.50.0000.00816.81
7.4.40.0080.00522.77
7.4.30.0060.01116.79
7.4.00.0080.00814.85
7.3.330.0030.00313.34
7.3.320.0000.00613.12
7.3.310.0000.00616.44
7.3.300.0000.00816.45
7.3.290.0040.01116.48
7.3.280.0090.00816.42
7.3.270.0160.00017.40
7.3.260.0100.01018.24
7.3.250.0070.00916.62
7.3.240.0090.01316.52
7.3.230.0040.01616.50
7.3.210.0070.01016.64
7.3.200.0030.01419.39
7.3.190.0000.02016.30
7.3.180.0130.00316.56
7.3.170.0090.00616.48
7.3.160.0060.00916.40
7.3.120.0070.01014.69
7.3.110.0070.01015.07
7.3.100.0070.00714.85
7.3.90.0080.00414.70
7.3.80.0070.00714.75
7.3.70.0000.00814.74
7.3.60.0150.00314.78
7.3.50.0030.00614.72
7.3.40.0060.00614.73
7.3.30.0030.01014.69
7.3.20.0090.00316.68
7.3.10.0060.00616.50
7.3.00.0090.00416.77
7.2.330.0110.00716.73
7.2.320.0090.00916.67
7.2.310.0100.01416.78
7.2.300.0030.01416.32
7.2.290.0030.01616.71
7.2.250.0110.00715.12
7.2.240.0070.01015.01
7.2.230.0060.01115.08
7.2.220.0000.01614.88
7.2.210.0030.01415.02
7.2.200.0000.01014.88
7.2.190.0090.00314.74
7.2.180.0040.00415.19
7.2.170.0000.01014.95
7.2.130.0100.00716.86
7.2.120.0070.00716.83
7.2.110.0070.00316.69
7.2.100.0000.01016.73
7.2.90.0060.00916.88
7.2.80.0030.00616.96
7.2.70.0040.01116.75
7.2.60.0090.00516.82
7.2.50.0030.01017.02
7.2.40.0090.00617.09
7.2.30.0040.01116.89
7.2.20.0040.00717.08
7.2.10.0040.01116.95
7.2.00.0070.00716.95
7.1.330.0090.00615.79
7.1.320.0040.00815.78
7.1.310.0090.00616.00
7.1.300.0030.01415.56
7.1.290.0030.00615.74
7.1.280.0040.01115.73
7.1.270.0060.00315.71
7.1.260.0000.00815.68
7.1.250.0070.00715.75
7.1.200.0130.00015.59
7.1.70.0040.00416.91
7.1.60.0090.01519.24
7.1.50.0070.01916.81
7.1.00.0030.03322.49
7.0.200.0040.00416.77
7.0.140.0070.07022.17
7.0.100.0100.08020.04
7.0.90.0070.08320.18
7.0.80.0070.07319.89
7.0.70.0130.07020.00
7.0.60.0070.07020.05
7.0.50.0130.05320.43
7.0.40.0030.05020.11
7.0.30.0070.08320.11
7.0.20.0100.07320.15
7.0.10.0100.07720.03
7.0.00.0100.06320.07
5.6.280.0030.07321.18
5.6.250.0130.06720.85
5.6.240.0070.07320.78
5.6.230.0000.06020.70
5.6.220.0130.07320.63
5.6.210.0100.07320.85
5.6.200.0100.08021.18
5.6.190.0070.06321.01
5.6.180.0070.09021.12
5.6.170.0100.06021.15
5.6.160.0100.07721.23
5.6.150.0130.07021.12
5.6.140.0100.06721.12
5.6.130.0130.07720.98
5.6.120.0100.08720.98
5.6.110.0130.07721.09
5.6.100.0130.06721.22
5.6.90.0000.08320.96
5.6.80.0000.08020.45
5.6.70.0130.07020.47
5.6.60.0030.06020.56
5.6.50.0070.07320.48
5.6.40.0130.07020.59
5.6.30.0070.09320.52
5.6.20.0030.08320.46
5.6.10.0100.07320.40
5.6.00.0130.07320.53
5.5.380.0070.09020.39
5.5.370.0070.06320.43
5.5.360.0100.07320.60
5.5.350.0100.08320.51
5.5.340.0100.07320.98
5.5.330.0130.07721.03
5.5.320.0030.07721.05
5.5.310.0130.07720.93
5.5.300.0100.08020.80
5.5.290.0100.08320.95
5.5.280.0030.06321.03
5.5.270.0070.07720.81
5.5.260.0230.06720.90
5.5.250.0030.07320.61
5.5.240.0100.07020.36
5.5.230.0130.07720.18
5.5.220.0070.07320.29
5.5.210.0100.05720.22
5.5.200.0070.05720.30
5.5.190.0200.06020.36
5.5.180.0100.05020.22
5.5.160.0130.05020.29
5.5.150.0130.07720.33
5.5.140.0030.06020.26
5.5.130.0100.06320.15
5.5.120.0070.04720.25
5.5.110.0170.06720.19
5.5.100.0130.07020.21
5.5.90.0070.07720.14
5.5.80.0100.08020.24
5.5.70.0070.08020.01
5.5.60.0170.05320.20
5.5.50.0070.07320.28
5.5.40.0070.07320.22
5.5.30.0100.07320.13
5.5.20.0100.07020.01
5.5.10.0200.07320.18
5.5.00.0030.06320.09
5.4.450.0100.07319.58
5.4.440.0200.06719.54
5.4.430.0070.07719.55
5.4.420.0130.06719.57
5.4.410.0070.08019.36
5.4.400.0030.05019.20
5.4.390.0130.06719.25
5.4.380.0100.06719.07
5.4.370.0070.08019.18
5.4.360.0030.08019.16
5.4.350.0170.07018.98
5.4.340.0070.05019.16
5.4.320.0100.07019.18
5.4.310.0100.07318.98
5.4.300.0000.07719.16
5.4.290.0030.08019.27
5.4.280.0070.07318.94
5.4.270.0030.08319.25
5.4.260.0030.07019.19
5.4.250.0030.08319.20
5.4.240.0130.05319.16
5.4.230.0070.06719.11
5.4.220.0100.07019.15
5.4.210.0070.08319.18
5.4.200.0170.06319.11
5.4.190.0070.05719.22
5.4.180.0000.05319.21
5.4.170.0030.07019.20
5.4.160.0030.07319.32
5.4.150.0000.09019.02
5.4.140.0130.03316.51
5.4.130.0030.04316.58
5.4.120.0070.06716.41
5.4.110.0030.07716.67
5.4.100.0100.06016.58
5.4.90.0130.07016.45
5.4.80.0170.06716.67
5.4.70.0230.05316.60
5.4.60.0070.06716.61
5.4.50.0170.06716.56
5.4.40.0070.07716.48
5.4.30.0100.06716.55
5.4.20.0130.06316.47
5.4.10.0070.06316.46
5.4.00.0070.04016.04
5.3.290.0070.07014.82
5.3.280.0130.07014.79
5.3.270.0070.07014.71
5.3.260.0070.07014.75
5.3.250.0070.08714.60
5.3.240.0130.06314.75
5.3.230.0030.07314.59
5.3.220.0030.07714.75
5.3.210.0100.05714.56
5.3.200.0070.07314.78
5.3.190.0030.08014.56
5.3.180.0070.04714.55
5.3.170.0070.04314.75
5.3.160.0070.06014.66
5.3.150.0070.06314.77
5.3.140.0030.06714.70
5.3.130.0100.07014.73
5.3.120.0130.03314.54
5.3.110.0070.07314.75
5.3.100.0030.04014.10
5.3.90.0000.04714.21
5.3.80.0000.07014.11
5.3.70.0070.07314.19
5.3.60.0070.05714.16
5.3.50.0030.05314.09
5.3.40.0030.07313.91
5.3.30.0130.06713.97
5.3.20.0130.03013.83
5.3.10.0070.07013.78
5.3.00.0030.06313.77
5.2.170.0070.06313.60
5.2.160.0100.06013.60
5.2.150.0100.04313.60
5.2.140.0130.03713.60
5.2.130.0030.06313.60
5.2.120.0030.06013.60
5.2.110.0070.04713.60
5.2.100.0030.05313.60
5.2.90.0100.03013.60
5.2.80.0100.03713.60
5.2.70.0000.03713.60
5.2.60.0030.04013.60
5.2.50.0100.05313.60
5.2.40.0070.06713.60
5.2.30.0030.06713.60
5.2.20.0070.05713.60
5.2.10.0070.05713.60
5.2.00.0030.05713.60
5.1.60.0130.04013.60
5.1.50.0000.05013.60
5.1.40.0070.03713.60
5.1.30.0030.03013.60
5.1.20.0030.06013.60
5.1.10.0100.05013.60
5.1.00.0030.04713.60
5.0.50.0030.02313.60
5.0.40.0030.04313.60
5.0.30.0070.06013.60
5.0.20.0070.04013.60
5.0.10.0030.03013.60
5.0.00.0070.06013.60
4.4.90.0000.02713.60
4.4.80.0000.03713.60
4.4.70.0000.03013.60
4.4.60.0130.01313.60
4.4.50.0000.03313.60
4.4.40.0100.03713.60
4.4.30.0070.03013.60
4.4.20.0030.02313.60
4.4.10.0030.03313.60
4.4.00.0030.05013.60
4.3.110.0000.03713.60
4.3.100.0030.01713.60
4.3.90.0070.03013.60
4.3.80.0100.04713.60
4.3.70.0030.03713.60
4.3.60.0000.03713.60
4.3.50.0030.02713.60
4.3.40.0030.04713.60
4.3.30.0030.01713.60
4.3.20.0030.03313.60
4.3.10.0070.03013.60
4.3.00.0070.03013.60

preferences:
37.52 ms | 401 KiB | 5 Q