3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nodes = '<air:AirPricingInfo Key="3T" TotalPrice="EUR328.98" BasePrice="EUR191.00" ApproximateTotalPrice="EUR328.98" ApproximateBasePrice="EUR191.00" Taxes="EUR137.98" LatestTicketingTime="2013-10-15T23:59:00.000+00:00" PricingMethod="Auto" PlatingCarrier="KL" ProviderCode="1P"> <air:FareInfo Key="13T" FareBasis="TWKNL" PassengerTypeCode="ADT" Origin="AMS" Destination="ROM" EffectiveDate="2013-10-08T17:49:20.621+02:00" Amount="NUC125.56"> <air:FareRuleKey FareInfoRef="13T" ProviderCode="1P">So05Ua7WWQ6LUnMVagmgWzIoZJ04F5ffjXmuoKjIAQzOW8SrBX6figwnZa5vZPwFnJN2p9gbxJQel+e1Y8YwIV8pQurxVP92</air:FareRuleKey> </air:FareInfo> <air:FareInfo Key="15T" FareBasis="TWKNL" PassengerTypeCode="ADT" Origin="ROM" Destination="AMS" EffectiveDate="2013-10-08T17:49:20.630+02:00" Amount="NUC125.56"> <air:FareRuleKey FareInfoRef="15T" ProviderCode="1P">So05Ua7WWQ6LUnMVagmgWzIoZJ04F5fflvTVZQjlKmjOW8SrBX6figwnZa5vZPwFnJN2p9gbxJQel+e1Y8YwIV8pQurxVP92</air:FareRuleKey> </air:FareInfo> <air:BookingInfo BookingCode="T" FareInfoRef="13T" SegmentRef="1T"/> <air:BookingInfo BookingCode="T" FareInfoRef="15T" SegmentRef="2T"/> <air:PassengerType Code="ADT" BookingTravelerRef="1"/> </air:AirPricingInfo> <air:AirPricingInfo Key="17T" TotalPrice="EUR275.52" BasePrice="EUR144.00" ApproximateTotalPrice="EUR275.52" ApproximateBasePrice="EUR144.00" Taxes="EUR131.52" LatestTicketingTime="2013-10-15T23:59:00.000+00:00" PricingMethod="Auto" PlatingCarrier="KL" ProviderCode="1P"> <air:FareInfo Key="27T" FareBasis="TWKNL" PassengerTypeCode="CNN" Origin="AMS" Destination="ROM" EffectiveDate="2013-10-08T17:49:20.653+02:00" Amount="NUC94.17"> <air:FareTicketDesignator Value="CH25"/> <air:FareRuleKey FareInfoRef="27T" ProviderCode="1P">So05Ua7WWQ6LUnMVagmgWzIoZJ04F5ffjXmuoKjIAQzOW8SrBX6figwnZa5vZPwFnJN2p9gbxJQel+e1Y8YwIV8pQurxVP92</air:FareRuleKey> </air:FareInfo> <air:FareInfo Key="29T" FareBasis="TWKNL" PassengerTypeCode="CNN" Origin="ROM" Destination="AMS" EffectiveDate="2013-10-08T17:49:20.655+02:00" Amount="NUC94.17"> <air:FareTicketDesignator Value="CH25"/> <air:FareRuleKey FareInfoRef="29T" ProviderCode="1P">So05Ua7WWQ6LUnMVagmgWzIoZJ04F5fflvTVZQjlKmjOW8SrBX6figwnZa5vZPwFnJN2p9gbxJQel+e1Y8YwIV8pQurxVP92</air:FareRuleKey> </air:FareInfo> <air:BookingInfo BookingCode="T" FareInfoRef="27T" SegmentRef="1T"/> <air:BookingInfo BookingCode="T" FareInfoRef="29T" SegmentRef="2T"/> <air:PassengerType Code="CNN" BookingTravelerRef="2"/> </air:AirPricingInfo> <air:AirPricingInfo Key="31T" TotalPrice="EUR19.00" BasePrice="EUR19.00" ApproximateTotalPrice="EUR19.00" ApproximateBasePrice="EUR19.00" Taxes="EUR0.00" LatestTicketingTime="2013-10-15T23:59:00.000+00:00" PricingMethod="Auto" PlatingCarrier="KL" ProviderCode="1P"> <air:FareInfo Key="32T" FareBasis="TWKNL" PassengerTypeCode="INF" Origin="AMS" Destination="ROM" EffectiveDate="2013-10-08T17:49:20.656+02:00" Amount="NUC12.55"> <air:FareTicketDesignator Value="IN90"/> <air:FareRuleKey FareInfoRef="32T" ProviderCode="1P">So05Ua7WWQ6LUnMVagmgWzIoZJ04F5ffjXmuoKjIAQzOW8SrBX6figwnZa5vZPwFnJN2p9gbxJQel+e1Y8YwIV8pQurxVP92</air:FareRuleKey> </air:FareInfo> <air:FareInfo Key="34T" FareBasis="TWKNL" PassengerTypeCode="INF" Origin="ROM" Destination="AMS" EffectiveDate="2013-10-08T17:49:20.657+02:00" Amount="NUC12.55"> <air:FareTicketDesignator Value="IN90"/> <air:FareRuleKey FareInfoRef="34T" ProviderCode="1P">So05Ua7WWQ6LUnMVagmgWzIoZJ04F5fflvTVZQjlKmjOW8SrBX6figwnZa5vZPwFnJN2p9gbxJQel+e1Y8YwIV8pQurxVP92</air:FareRuleKey> </air:FareInfo> <air:BookingInfo BookingCode="T" FareInfoRef="32T" SegmentRef="1T"/> <air:BookingInfo BookingCode="T" FareInfoRef="34T" SegmentRef="2T"/> <air:PassengerType Code="INF" BookingTravelerRef="3"/> </air:AirPricingInfo>'; $oNodesEncapsulated = new DOMDocument(); $oNodesEncapsulated->loadXml('<root><air:wrapper xmlns:common_v19_0="http://www.travelport.com/schema/common_v19_0" xmlns:air="http://www.travelport.com/schema/air_v22_0" TransactionId="98C211960A076113466F7BECF086E1DC" ResponseTime="4399">'.$nodes.'</air:wrapper></root>'); echo $oNodesEncapsulated->saveXml(); ?>

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.70.0120.00316.63
8.3.60.0130.00618.50
8.3.50.0140.00722.17
8.3.40.0120.00318.96
8.3.30.0090.01218.96
8.3.20.0040.00418.91
8.3.10.0040.00421.38
8.3.00.0080.00023.93
8.2.180.0000.01516.88
8.2.170.0090.00622.96
8.2.160.0140.00020.77
8.2.150.0070.00324.18
8.2.140.0030.00524.66
8.2.130.0000.00826.16
8.2.120.0080.00021.38
8.2.110.0080.00320.72
8.2.100.0060.00618.03
8.2.90.0000.00919.42
8.2.80.0040.00419.61
8.2.70.0060.00317.88
8.2.60.0000.00818.18
8.2.50.0030.00518.07
8.2.40.0090.00018.41
8.2.30.0040.00419.68
8.2.20.0030.00519.72
8.2.10.0080.00018.03
8.2.00.0030.00618.04
8.1.280.0100.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00621.04
8.1.230.0110.00021.22
8.1.220.0050.00318.77
8.1.210.0060.00619.24
8.1.200.0030.00617.50
8.1.190.0000.00817.80
8.1.180.0030.00518.10
8.1.170.0030.00519.00
8.1.160.0040.00419.20
8.1.150.0000.00718.90
8.1.140.0040.00417.68
8.1.130.0000.00718.11
8.1.120.0070.00017.82
8.1.110.0040.00417.78
8.1.100.0030.00517.79
8.1.90.0000.00717.79
8.1.80.0050.00317.69
8.1.70.0080.00017.75
8.1.60.0060.00317.82
8.1.50.0000.00817.66
8.1.40.0060.00317.71
8.1.30.0030.00617.84
8.1.20.0000.00817.98
8.1.10.0000.00717.94
8.1.00.0000.00817.86
8.0.300.0100.00020.39
8.0.290.0040.00417.55
8.0.280.0000.00818.70
8.0.270.0040.00417.57
8.0.260.0030.00317.16
8.0.250.0000.00817.08
8.0.240.0030.00617.24
8.0.230.0030.00317.13
8.0.220.0070.00017.25
8.0.210.0030.00317.13
8.0.200.0040.00417.13
8.0.190.0040.00417.25
8.0.180.0040.00417.23
8.0.170.0080.00017.07
8.0.160.0070.00017.23
8.0.150.0060.00317.01
8.0.140.0000.01017.11
8.0.130.0070.00013.64
8.0.120.0000.00817.23
8.0.110.0050.00217.24
8.0.100.0000.00817.05
8.0.90.0000.00717.23
8.0.80.0060.01117.24
8.0.70.0050.00217.21
8.0.60.0040.00417.00
8.0.50.0000.00817.12
8.0.30.0120.00717.23
8.0.20.0100.00817.43
8.0.10.0000.00817.22
8.0.00.0080.01116.98
7.4.330.0020.00217.04
7.4.320.0000.00616.80
7.4.300.0030.00316.75
7.4.290.0070.00016.75
7.4.280.0030.00616.84
7.4.270.0030.00316.86
7.4.260.0050.00013.57
7.4.250.0030.00616.71
7.4.240.0040.00416.68
7.4.230.0040.00416.85
7.4.220.0130.00716.59
7.4.210.0060.01216.83
7.4.200.0030.00616.86
7.4.190.0040.00416.91
7.4.160.0120.00616.55
7.4.150.0090.00917.40
7.4.140.0090.01117.86
7.4.130.0090.00816.58
7.4.120.0150.00316.80
7.4.110.0140.00316.71
7.4.100.0160.00316.84
7.4.90.0140.00316.66
7.4.80.0140.00319.39
7.4.70.0040.01216.51
7.4.60.0100.00716.81
7.4.50.0000.00816.82
7.4.40.0120.00322.77
7.4.30.0160.00616.86
7.4.00.0030.01215.05
7.3.330.0030.00313.42
7.3.320.0030.00313.42
7.3.310.0080.00016.57
7.3.300.0000.00716.38
7.3.290.0100.00316.53
7.3.280.0090.01116.54
7.3.270.0050.01317.40
7.3.260.0160.00418.24
7.3.250.0120.00716.75
7.3.240.0100.01216.70
7.3.230.0100.00716.84
7.3.210.0100.01116.54
7.3.200.0090.00919.39
7.3.190.0100.01016.51
7.3.180.0070.01016.72
7.3.170.0070.01016.81
7.3.160.0090.00616.53
7.3.120.0170.00014.99
7.2.330.0120.00616.69
7.2.320.0070.01716.84
7.2.310.0120.00917.12
7.2.300.0110.00816.45
7.2.290.0090.00916.71
7.1.200.0030.00715.95
7.1.70.0050.00517.24
7.1.60.0040.00716.86
7.1.50.0000.02116.99
7.1.00.0000.03722.57
7.0.200.0030.00716.88
7.0.140.0000.08022.26
7.0.100.0200.08020.07
7.0.90.0300.05719.94
7.0.80.0230.09020.03
7.0.70.0270.07320.07
7.0.60.0070.07020.06
7.0.50.0070.05720.39
7.0.40.0070.07720.23
7.0.30.0070.05020.23
7.0.20.0030.05320.20
7.0.10.0070.05020.18
7.0.00.0030.06720.16
5.6.280.0030.07321.05
5.6.250.0100.04020.65
5.6.240.0030.08720.81
5.6.230.0100.07720.71
5.6.220.0070.07020.75
5.6.210.0170.06320.98
5.6.200.0030.08721.05
5.6.190.0130.07721.23
5.6.180.0170.07021.23
5.6.170.0170.07021.21
5.6.160.0100.05021.20
5.6.150.0130.04721.20
5.6.140.0130.08321.32
5.6.130.0100.05721.19
5.6.120.0230.08721.23
5.6.110.0070.05021.19
5.6.100.0130.07021.16
5.6.90.0030.04721.21
5.6.80.0170.06320.58
5.6.70.0170.06020.61
5.6.60.0100.03320.58
5.6.50.0030.05320.64
5.6.40.0070.05720.56
5.6.30.0100.07020.53
5.6.20.0100.06320.55
5.6.10.0070.07720.38
5.6.00.0070.06720.63
5.5.380.0170.07020.45
5.5.370.0170.07720.59
5.5.360.0070.07320.48
5.5.350.0200.06720.63
5.5.340.0100.07721.07
5.5.330.0170.04020.95
5.5.320.0100.07321.07
5.5.310.0070.06720.92
5.5.300.0070.06020.82
5.5.290.0100.08020.97
5.5.280.0070.04021.02
5.5.270.0100.07720.96
5.5.260.0130.07720.92
5.5.250.0200.06320.82
5.5.240.0100.06320.40
5.5.230.0130.06320.43
5.5.220.0100.05320.30
5.5.210.0230.03020.29
5.5.200.0070.04320.20
5.5.190.0070.06320.35
5.5.180.0030.08020.27
5.5.160.0100.08020.17
5.5.150.0070.05320.22
5.5.140.0100.05320.43
5.5.130.0100.07720.38
5.5.120.0100.07720.32
5.5.110.0100.07320.40
5.5.100.0000.06320.27
5.5.90.0100.05720.13
5.5.80.0000.07020.04
5.5.70.0200.06020.20
5.5.60.0100.05320.29
5.5.50.0130.07320.11
5.5.40.0170.06320.26
5.5.30.0070.08020.12
5.5.20.0070.07320.12
5.5.10.0030.07720.06
5.5.00.0100.07320.07
5.4.450.0100.07019.23
5.4.440.0030.07019.46
5.4.430.0100.08019.53
5.4.420.0100.04319.21
5.4.410.0000.05019.11
5.4.400.0070.04019.20
5.4.390.0100.04319.23
5.4.380.0030.04019.20
5.4.370.0130.07019.20
5.4.360.0030.04319.23
5.4.350.0070.05719.20
5.4.340.0030.06018.89
5.4.320.0170.08019.23
5.4.310.0170.05719.36
5.4.300.0100.07319.14
5.4.290.0100.07719.15
5.4.280.0030.03319.24
5.4.270.0170.05319.20
5.4.260.0030.08019.22
5.4.250.0030.08019.21
5.4.240.0070.06018.91
5.4.230.0030.03719.33
5.4.220.0070.06319.39
5.4.210.0070.06719.15
5.4.200.0100.06019.24
5.4.190.0070.07019.23
5.4.180.0030.07719.20
5.4.170.0100.06319.14
5.4.160.0100.07319.04
5.4.150.0030.04719.34
5.4.140.0070.07716.46
5.4.130.0100.07016.47
5.4.120.0130.03016.59
5.4.110.0070.06316.38
5.4.100.0070.03716.61
5.4.90.0100.06716.66
5.4.80.0000.06316.45
5.4.70.0070.05016.49
5.4.60.0030.03316.42
5.4.50.0030.04316.34
5.4.40.0070.07316.35
5.4.30.0030.07016.55
5.4.20.0030.03316.47
5.4.10.0070.06716.55
5.4.00.0070.05715.88
5.3.290.0170.03314.84
5.3.280.0030.08014.73
5.3.270.0170.06314.56
5.3.260.0100.06014.68
5.3.250.0070.05314.73
5.3.240.0070.04714.70
5.3.230.0130.06014.71
5.3.220.0030.04014.51
5.3.210.0030.04314.72
5.3.200.0030.04014.67
5.3.190.0030.08014.69
5.3.180.0070.04314.73
5.3.170.0100.07314.71
5.3.160.0100.06714.66
5.3.150.0000.08314.72
5.3.140.0070.05714.51
5.3.130.0070.07314.64
5.3.120.0170.06314.66
5.3.110.0030.03714.72
5.3.100.0070.07014.16
5.3.90.0070.06714.13
5.3.80.0100.06014.13
5.3.70.0070.06314.12
5.3.60.0070.05314.19
5.3.50.0100.07014.07
5.3.40.0100.06014.11
5.3.30.0000.07314.01
5.3.20.0030.07013.86
5.3.10.0100.05313.75
5.3.00.0100.07013.84
5.2.170.0070.05712.39
5.2.160.0000.06012.39
5.2.150.0030.03312.39
5.2.140.0070.05312.39
5.2.130.0070.05312.39
5.2.120.0100.03012.39
5.2.110.0100.04012.39
5.2.100.0030.03712.39
5.2.90.0070.06312.39
5.2.80.0070.06312.39
5.2.70.0100.05712.39
5.2.60.0030.03712.39
5.2.50.0070.03012.39
5.2.40.0070.03012.39
5.2.30.0070.06012.39
5.2.20.0070.03012.39
5.2.10.0000.06012.39
5.2.00.0030.02712.39
5.1.60.0030.02712.39
5.1.50.0030.02712.39
5.1.40.0000.05312.39
5.1.30.0030.05712.39
5.1.20.0030.02312.39
5.1.10.0070.05012.39
5.1.00.0100.01712.39
5.0.50.0000.04312.39
5.0.40.0100.01712.39
5.0.30.0030.06312.39
5.0.20.0030.04312.39
5.0.10.0000.03012.39
5.0.00.0030.03312.39
4.4.90.0030.03012.39
4.4.80.0070.02712.39
4.4.70.0030.03312.39
4.4.60.0030.03312.39
4.4.50.0000.03712.39
4.4.40.0070.04712.39
4.4.30.0000.03712.39
4.4.20.0070.02312.39
4.4.10.0100.02012.39
4.4.00.0000.04712.39
4.3.110.0070.02312.39
4.3.100.0030.03312.39
4.3.90.0070.02312.39
4.3.80.0030.04012.39
4.3.70.0030.02012.39
4.3.60.0000.03712.39
4.3.50.0030.02312.39
4.3.40.0000.03012.39
4.3.30.0000.01712.39
4.3.20.0030.01312.39
4.3.10.0030.02012.39
4.3.00.0000.03312.39

preferences:
62.21 ms | 401 KiB | 5 Q