3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oPricingInfoNode = new DOMDocument(); $oPricingInfoNode->loadXML('<air:AirPricingSolution xmlns:air="http://www.travelport.com/schema/air_v22_0" xmlns:com="http://www.travelport.com/schema/common_v19_0" Key="1T"> <air:AirSegment 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.0060.01218.68
8.3.50.0190.01022.05
8.3.40.0060.00919.09
8.3.30.0100.00320.54
8.3.20.0040.00419.11
8.3.10.0040.00421.34
8.3.00.0080.00019.93
8.2.180.0090.00616.88
8.2.170.0060.00822.96
8.2.160.0130.00020.77
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00220.27
8.2.110.0120.00019.52
8.2.100.0090.00318.16
8.2.90.0000.00819.38
8.2.80.0030.00619.53
8.2.70.0080.00017.75
8.2.60.0030.00518.18
8.2.50.0060.00318.07
8.2.40.0080.00018.22
8.2.30.0000.00721.62
8.2.20.0000.00717.77
8.2.10.0080.00017.84
8.2.00.0000.01117.91
8.1.280.0070.01425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00320.94
8.1.230.0090.00321.09
8.1.220.0000.00818.77
8.1.210.0030.00518.89
8.1.200.0090.00017.50
8.1.190.0030.00617.78
8.1.180.0000.00818.10
8.1.170.0040.00418.67
8.1.160.0040.00419.21
8.1.150.0000.00718.78
8.1.140.0040.00417.56
8.1.130.0050.00317.94
8.1.120.0090.00017.73
8.1.110.0040.00417.66
8.1.100.0000.00717.51
8.1.90.0040.00417.64
8.1.80.0050.00317.66
8.1.70.0000.00817.63
8.1.60.0030.00517.71
8.1.50.0070.00017.57
8.1.40.0030.00517.51
8.1.30.0040.00417.89
8.1.20.0060.00317.95
8.1.10.0040.00417.70
8.1.00.0040.00417.68
8.0.300.0080.00020.02
8.0.290.0050.00317.30
8.0.280.0000.00718.70
8.0.270.0000.00717.47
8.0.260.0030.00318.60
8.0.250.0000.00917.11
8.0.240.0040.00417.31
8.0.230.0000.00717.17
8.0.220.0030.00317.19
8.0.210.0030.00517.16
8.0.200.0060.00017.13
8.0.190.0050.00317.10
8.0.180.0000.00917.13
8.0.170.0040.00417.21
8.0.160.0040.00417.12
8.0.150.0000.00717.11
8.0.140.0080.00017.21
8.0.130.0030.00313.70
8.0.120.0040.00417.04
8.0.110.0000.00816.94
8.0.100.0000.00816.90
8.0.90.0030.00517.15
8.0.80.0090.00617.00
8.0.70.0080.00017.22
8.0.60.0040.00417.02
8.0.50.0050.00216.89
8.0.30.0090.00817.23
8.0.20.0060.01317.46
8.0.10.0040.00417.35
8.0.00.0100.00816.88
7.4.330.0000.00517.11
7.4.320.0030.00316.84
7.4.300.0040.00416.64
7.4.290.0030.00316.81
7.4.280.0030.00316.76
7.4.270.0040.00416.68
7.4.260.0060.00013.44
7.4.250.0040.00416.65
7.4.240.0040.00416.66
7.4.230.0030.00316.82
7.4.220.0280.00316.62
7.4.210.0050.00916.78
7.4.200.0040.00416.66
7.4.190.0050.00216.75
7.4.160.0030.01316.94
7.4.150.0090.01117.40
7.4.140.0090.00817.86
7.4.130.0070.01116.69
7.4.120.0090.00816.58
7.4.110.0040.01516.75
7.4.100.0030.01316.64
7.4.90.0110.01116.83
7.4.80.0160.00319.39
7.4.70.0090.00916.58
7.4.60.0070.01016.64
7.4.50.0000.00816.81
7.4.40.0090.00322.77
7.4.30.0090.00916.56
7.4.00.0030.01314.82
7.3.330.0030.00313.28
7.3.320.0000.00513.27
7.3.310.0040.00416.34
7.3.300.0000.00716.31
7.3.290.0090.00616.49
7.3.280.0130.00716.46
7.3.270.0130.00317.40
7.3.260.0100.00718.24
7.3.250.0110.00616.54
7.3.240.0110.00616.43
7.3.230.0110.00516.64
7.3.210.0100.00716.56
7.3.200.0030.01319.39
7.3.190.0140.00316.75
7.3.180.0150.00016.59
7.3.170.0060.01016.50
7.3.160.0030.01216.57
7.3.120.0130.00315.07
7.3.10.0080.00816.65
7.3.00.0070.00716.79
7.2.330.0110.00716.69
7.2.320.0090.01616.60
7.2.310.0060.01616.76
7.2.300.0030.01316.43
7.2.290.0080.00816.62
7.2.130.0100.00316.79
7.2.120.0090.00616.84
7.2.110.0090.00616.81
7.2.100.0030.00716.60
7.2.90.0070.01016.96
7.2.80.0000.01716.57
7.2.70.0070.00416.96
7.2.60.0050.01116.90
7.2.50.0030.01017.02
7.2.40.0070.00417.00
7.2.30.0070.01016.79
7.2.20.0070.00716.86
7.2.10.0090.00616.82
7.2.00.0060.00818.07
7.1.250.0000.01015.91
7.1.200.0100.00015.45
7.1.100.0060.00618.00
7.1.70.0030.00917.02
7.1.60.0070.01819.24
7.1.50.0110.01416.78
7.1.00.0000.03722.54
7.0.200.0100.00016.85
7.0.140.0000.07722.16
7.0.60.0070.08720.16
7.0.50.0030.06317.90
7.0.40.0130.08320.13
7.0.30.0570.07020.27
7.0.20.0200.08320.27
7.0.10.0130.04720.18
7.0.00.0030.08320.28
5.6.280.0070.07021.15
5.6.210.0100.07320.68
5.6.200.0070.07718.29
5.6.190.0070.08020.64
5.6.180.0270.08020.59
5.6.170.0300.07720.58
5.6.160.0100.08320.80
5.6.150.0030.04318.45
5.6.140.0030.04318.37
5.6.130.0100.06718.28
5.6.120.0030.09321.21
5.6.110.0070.06021.03
5.6.100.0200.04721.03
5.6.90.0130.08021.19
5.6.80.0000.04020.40
5.5.350.0130.07020.45
5.5.340.0170.07318.13
5.5.330.0000.04320.52
5.5.320.0200.08720.59
5.5.310.0030.06320.38
5.5.300.0070.08018.07
5.5.290.0030.09018.11
5.5.280.0070.05020.74
5.5.270.0030.04021.07
5.5.260.0130.07320.79
5.5.250.0000.09020.68
5.5.240.0000.04320.40
5.4.450.0270.08319.52
5.4.440.0300.03719.38
5.4.430.0370.05319.40
5.4.420.0300.07319.42
5.4.410.0330.06019.26
5.4.400.0370.06319.34
5.4.390.0370.05719.28
5.4.380.0330.05319.25
5.4.370.0200.05019.17
5.4.360.0170.04319.23
5.4.350.0330.06719.17
5.4.340.0300.05019.31
5.4.320.0300.04719.25
5.4.310.0330.06719.12
5.4.300.0300.03319.27
5.4.290.0330.05319.27
5.4.280.0330.07019.03
5.4.270.0270.06719.24
5.4.260.0370.06019.30
5.4.250.0200.04319.02
5.4.240.0400.06319.32
5.4.230.0370.05019.16
5.4.220.0230.07719.30
5.4.210.0270.05319.21
5.4.200.0370.04319.32
5.4.190.0230.05019.22
5.4.180.0270.07719.31
5.4.170.0300.04319.16
5.4.160.0400.05319.16
5.4.150.0270.07319.33
5.4.140.0330.06716.46
5.4.130.0370.06016.65
5.4.120.0200.04316.46
5.4.110.0330.06716.64
5.4.100.0330.03716.41
5.4.90.0400.05716.70
5.4.80.0330.05716.53
5.4.70.0300.06716.66
5.4.60.0330.05716.57
5.4.50.0230.03316.48
5.4.40.0330.04716.52
5.4.30.0330.06316.52
5.4.20.0370.06016.48
5.4.10.0370.04016.69
5.4.00.0300.03716.10
5.3.290.0330.07014.78
5.3.280.0330.05714.61
5.3.270.0300.05714.67
5.3.260.0300.05014.87
5.3.250.0270.05014.80
5.3.240.0330.06314.86
5.3.230.0370.06014.82
5.3.220.0370.05714.81
5.3.210.0330.06314.63
5.3.200.0270.04014.64
5.3.190.0270.05714.83
5.3.180.0270.07014.81
5.3.170.0330.06014.63
5.3.160.0300.06014.63
5.3.150.0230.04014.63
5.3.140.0300.03014.74
5.3.130.0300.07314.71
5.3.120.0370.05014.73
5.3.110.0270.03714.60
5.3.100.0270.05314.30
5.3.90.0270.04314.08
5.3.80.0300.04014.08
5.3.70.0330.06714.07
5.3.60.0370.04714.06
5.3.50.0400.04014.11
5.3.40.0370.05714.00
5.3.30.0300.06713.98
5.3.20.0330.06713.80
5.3.10.0300.03013.84
5.3.00.0330.06013.67
5.2.170.0270.05711.85
5.2.160.0230.04011.85
5.2.150.0200.03311.85
5.2.140.0200.03011.85
5.2.130.0130.05011.85
5.2.120.0200.03011.85
5.2.110.0330.05011.85
5.2.100.0230.05711.85
5.2.90.0230.05711.85
5.2.80.0270.04711.85
5.2.70.0200.03311.85
5.2.60.0170.05011.85
5.2.50.0230.04711.85
5.2.40.0200.03011.85
5.2.30.0200.03011.85
5.2.20.0170.02311.85
5.2.10.0100.03011.85
5.2.00.0130.02711.85
5.1.60.0130.02311.85
5.1.50.0100.03011.85
5.1.40.0130.02311.85
5.1.30.0270.02011.85
5.1.20.0130.02711.85
5.1.10.0070.03011.85
5.1.00.0030.03311.85
5.0.50.0070.02011.85
5.0.40.0070.02011.85
5.0.30.0070.03011.85
5.0.20.0030.02311.85
5.0.10.0070.02011.85
5.0.00.0070.03311.85
4.4.90.0100.03011.85
4.4.80.0170.02711.85
4.4.70.0070.01711.85
4.4.60.0070.01311.85
4.4.50.0070.01311.85
4.4.40.0030.02711.85
4.4.30.0030.01711.85
4.4.20.0030.01711.85
4.4.10.0030.02311.85
4.4.00.0030.02711.85
4.3.110.0070.02011.85
4.3.100.0070.01311.85
4.3.90.0070.01311.85
4.3.80.0030.02711.85
4.3.70.0030.01711.85
4.3.60.0070.01311.85
4.3.50.0070.01311.85
4.3.40.0070.02311.85
4.3.30.0000.01711.85
4.3.20.0030.01711.85
4.3.10.0000.02011.85
4.3.00.0000.01711.85

preferences:
42.25 ms | 401 KiB | 5 Q