3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oPricingInfoNode = new DOMDocument(); $oPricingInfoNode->loadXML(' <air:AirPricingInfo xmlns:air="http://www.travelport.com/schema/air_v22_0" xmlns:com="http://www.travelport.com/schema/common_v19_0" 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: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>'); # <air:AirPricingModifiers FaresIndicator="PublicAndPrivateFares" /> $oAirPricingModifiersNode = $oPricingInfoNode->createElement("air:AirPricingModifiers"); $oAirPricingModifiersNode->setAttribute("FareIndicator", "PublicAndPrivateFares"); $oPricingInfoNode->insertBefore($oAirPricingModifiersNode, $oPricingInfoNode->firstChild); echo $oPricingInfoNode->firstChild->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.40.0210.00019.22
8.3.30.0130.00320.59
8.3.20.0070.00719.02
8.3.10.0050.00321.36
8.3.00.0050.00319.81
8.2.170.0110.00422.96
8.2.160.0130.00320.65
8.2.150.0080.00024.18
8.2.140.0000.00924.66
8.2.130.0060.00326.16
8.2.120.0040.00420.08
8.2.110.0090.00020.77
8.2.100.0070.00418.16
8.2.90.0000.00819.48
8.2.80.0040.00419.46
8.2.70.0030.00717.75
8.2.60.0000.00818.17
8.2.50.0000.01218.07
8.2.40.0060.00320.07
8.2.30.0040.00421.39
8.2.20.0040.00417.84
8.2.10.0030.00517.97
8.2.00.0050.00218.00
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0130.00628.09
8.1.240.0060.00322.64
8.1.230.0060.00621.14
8.1.220.0050.00318.77
8.1.210.0030.00519.01
8.1.200.0000.00917.47
8.1.190.0080.00017.66
8.1.180.0000.00818.10
8.1.170.0000.00818.84
8.1.160.0040.00419.08
8.1.150.0060.00318.81
8.1.140.0080.00017.63
8.1.130.0030.00317.96
8.1.120.0030.00617.56
8.1.110.0000.00817.67
8.1.100.0050.00217.68
8.1.90.0040.00417.66
8.1.80.0000.00817.73
8.1.70.0000.00717.69
8.1.60.0040.00417.65
8.1.50.0000.00817.78
8.1.40.0040.00417.78
8.1.30.0040.00417.72
8.1.20.0000.00817.80
8.1.10.0000.00717.73
8.1.00.0050.00317.80
8.0.300.0000.00719.96
8.0.290.0000.00817.30
8.0.280.0050.00318.49
8.0.270.0000.00717.44
8.0.260.0030.00317.00
8.0.250.0000.00717.08
8.0.240.0000.01017.10
8.0.230.0040.00417.06
8.0.220.0080.00017.04
8.0.210.0030.00517.13
8.0.200.0050.00217.19
8.0.190.0090.00017.18
8.0.180.0040.00417.17
8.0.170.0040.00417.13
8.0.160.0040.00417.19
8.0.150.0030.00516.92
8.0.140.0040.00417.08
8.0.130.0030.00313.50
8.0.120.0050.00317.14
8.0.110.0040.00416.95
8.0.100.0000.00716.97
8.0.90.0040.00417.06
8.0.80.0090.00617.04
8.0.70.0000.00717.06
8.0.60.0040.00417.00
8.0.50.0040.00417.17
8.0.30.0100.01017.21
8.0.20.0110.01117.43
8.0.10.0040.00417.30
8.0.00.0120.01016.94
7.4.330.0020.00217.07
7.4.320.0000.00616.81
7.4.300.0030.00316.61
7.4.290.0030.00316.85
7.4.280.0000.00716.82
7.4.270.0070.00016.71
7.4.260.0060.00013.42
7.4.250.0080.00016.81
7.4.240.0040.00416.66
7.4.230.0070.00016.80
7.4.220.0000.02116.87
7.4.210.0060.01116.76
7.4.200.0070.00016.77
7.4.190.0030.00316.81
7.4.160.0120.00316.73
7.4.150.0070.01017.40
7.4.140.0120.00817.86
7.4.130.0050.01516.70
7.4.120.0130.00816.71
7.4.110.0120.00916.78
7.4.100.0120.00616.73
7.4.90.0030.01716.94
7.4.80.0100.00719.39
7.4.70.0070.01016.67
7.4.60.0100.00716.86
7.4.50.0030.00616.76
7.4.40.0070.00722.77
7.4.30.0030.01316.85
7.4.10.0000.01715.01
7.4.00.0080.00515.14
7.3.330.0000.00513.48
7.3.320.0030.00313.44
7.3.310.0060.00316.37
7.3.300.0040.00416.55
7.3.290.0070.00816.59
7.3.280.0100.00716.55
7.3.270.0130.01317.40
7.3.260.0140.00918.24
7.3.250.0100.00916.68
7.3.240.0090.01216.70
7.3.230.0130.00416.86
7.3.210.0070.01416.53
7.3.200.0120.00619.39
7.3.190.0070.01016.34
7.3.180.0060.01016.72
7.3.170.0100.00716.74
7.3.160.0040.01516.57
7.3.130.0040.01414.80
7.3.120.0080.00815.13
7.3.110.0030.01614.89
7.3.100.0100.00614.84
7.3.90.0060.00914.95
7.3.80.0060.00915.05
7.3.70.0040.01214.72
7.3.60.0060.00914.91
7.3.50.0090.00614.82
7.3.40.0040.01115.15
7.3.30.0030.01014.81
7.3.20.0080.00416.78
7.3.10.0140.00016.76
7.3.00.0000.01616.69
7.2.330.0000.01716.74
7.2.320.0040.01616.64
7.2.310.0060.01316.57
7.2.300.0080.00816.63
7.2.290.0030.01316.85
7.2.260.0130.00315.12
7.2.250.0110.00715.05
7.2.240.0130.00315.34
7.2.230.0030.01015.24
7.2.220.0120.00315.09
7.2.210.0080.00315.22
7.2.200.0000.01315.06
7.2.190.0130.00415.09
7.2.180.0090.00315.16
7.2.170.0030.01215.32
7.2.160.0060.00914.92
7.2.150.0120.00316.98
7.2.140.0070.00717.04
7.2.130.0070.01116.88
7.2.120.0070.00416.96
7.2.110.0120.00316.90
7.2.100.0090.00616.85
7.2.90.0000.01516.89
7.2.80.0030.00717.08
7.2.70.0000.01017.10
7.2.60.0110.00316.86
7.2.50.0060.00916.99
7.2.40.0080.00417.00
7.2.30.0130.00316.98
7.2.20.0130.00316.97
7.2.10.0070.00716.91
7.2.00.0080.00718.20
7.1.330.0030.01415.79
7.1.320.0060.00615.84
7.1.310.0100.00316.04
7.1.300.0080.00815.78
7.1.290.0060.01115.77
7.1.280.0030.01015.59
7.1.270.0070.00715.77
7.1.260.0030.00815.62
7.1.250.0030.01015.56
7.1.240.0090.00315.55
7.1.230.0100.00315.73
7.1.220.0000.01515.77
7.1.210.0040.01115.74
7.1.200.0040.00715.86
7.1.190.0060.00915.75
7.1.180.0000.01416.07
7.1.170.0040.00815.82
7.1.160.0130.00315.84
7.1.150.0090.00615.96
7.1.140.0030.01015.71
7.1.130.0080.00815.83
7.1.120.0060.00615.70
7.1.110.0100.00715.99
7.1.100.0020.01117.06
7.1.90.0110.00015.67
7.1.80.0030.00615.82
7.1.70.0030.00816.45
7.1.60.0060.01217.51
7.1.50.0130.00616.41
7.1.40.0090.00415.88
7.1.30.0030.01015.66
7.1.20.0030.01515.85
7.1.10.0030.00615.93
7.1.00.0070.03219.17
7.0.330.0000.01115.56
7.0.320.0080.00415.41
7.0.310.0030.01015.29
7.0.300.0110.00415.53
7.0.290.0040.01515.74
7.0.280.0000.01515.32
7.0.270.0060.00915.54
7.0.260.0040.01115.42
7.0.250.0030.01315.62
7.0.240.0000.01515.48
7.0.230.0030.01015.63
7.0.220.0000.01115.40
7.0.210.0070.00715.59
7.0.200.0020.00616.26
7.0.190.0060.00315.58
7.0.180.0060.00615.59
7.0.170.0070.00715.34
7.0.160.0030.01415.66
7.0.150.0100.00315.46
7.0.140.0040.04218.74
7.0.130.0030.01415.40
7.0.120.0030.00615.63
7.0.110.0040.00815.53
7.0.100.0030.04817.80
7.0.90.0120.03617.78
7.0.80.0050.02917.73
7.0.70.0090.04317.61
7.0.60.0050.05017.80
7.0.50.0130.04218.10
7.0.40.0050.04016.92
7.0.30.0100.04316.83
7.0.20.0030.04916.76
7.0.10.0070.04716.88
7.0.00.0080.03016.88
5.6.400.0100.00314.54
5.6.390.0070.00714.29
5.6.380.0030.01114.51
5.6.370.0090.00614.58
5.6.360.0070.00714.11
5.6.350.0000.01514.55
5.6.340.0070.01114.18
5.6.330.0060.00914.51
5.6.320.0080.00814.51
5.6.310.0040.01114.78
5.6.300.0030.01014.50
5.6.290.0000.01814.77
5.6.280.0040.04217.62
5.6.270.0040.00414.37
5.6.260.0070.01014.46
5.6.250.0130.04317.63
5.6.240.0060.04317.72
5.6.230.0030.04617.55
5.6.220.0090.04317.73
5.6.210.0070.04517.50
5.6.200.0050.04817.78
5.6.190.0110.04317.68
5.6.180.0050.04317.87
5.6.170.0080.02817.78
5.6.160.0090.04317.88
5.6.150.0020.05217.81
5.6.140.0070.04017.72
5.6.130.0120.04217.84
5.6.120.0050.04617.65
5.6.110.0130.04017.86
5.6.100.0120.04017.79
5.6.90.0070.04317.87
5.6.80.0090.04417.40
5.6.70.0130.03517.55
5.6.60.0080.04117.41
5.6.50.0060.04117.33
5.6.40.0120.03717.35
5.6.30.0110.03617.37
5.6.20.0050.02717.44
5.6.10.0030.04617.23
5.6.00.0070.02317.27
5.5.380.0080.02317.37
5.5.370.0070.04417.38
5.5.360.0140.03817.35
5.5.350.0130.04117.36
5.5.340.0080.04517.78
5.5.330.0110.03617.46
5.5.320.0030.04317.61
5.5.310.0020.04817.75
5.5.300.0120.04217.67
5.5.290.0100.04217.51
5.5.280.0030.02817.56
5.5.270.0020.05217.65
5.5.260.0090.04117.68
5.5.250.0050.04517.51
5.5.240.0050.03717.44
5.5.230.0070.04517.29
5.5.220.0030.04617.30
5.5.210.0100.02617.14
5.5.200.0100.03517.39
5.5.190.0070.04017.24
5.5.180.0020.04417.30
5.5.170.0070.01114.27
5.5.160.0030.04217.23
5.5.150.0160.03517.40
5.5.140.0090.04217.16
5.5.130.0080.04017.27
5.5.120.0080.03117.34
5.5.110.0110.03817.33
5.5.100.0100.03817.25
5.5.90.0050.04617.29
5.5.80.0070.03717.20
5.5.70.0070.03917.32
5.5.60.0070.04217.25
5.5.50.0090.02516.92
5.5.40.0080.04317.01
5.5.30.0060.04017.21
5.5.20.0050.04717.17
5.5.10.0150.02517.24
5.5.00.0030.04317.04
5.4.450.0050.04215.32
5.4.440.0050.02315.34
5.4.430.0050.04715.05
5.4.420.0080.03715.25
5.4.410.0080.03315.30
5.4.400.0100.03815.01
5.4.390.0110.03515.06
5.4.380.0050.04015.12
5.4.370.0060.03815.01
5.4.360.0000.04514.94
5.4.350.0080.04015.14
5.4.340.0000.04615.02
5.4.330.0040.01110.75
5.4.320.0050.04214.99
5.4.310.0070.02115.11
5.4.300.0030.04314.92
5.4.290.0070.03814.99
5.4.280.0060.04014.97
5.4.270.0060.03115.08
5.4.260.0000.04715.13
5.4.250.0060.04114.90
5.4.240.0080.03815.03
5.4.230.0070.04015.03
5.4.220.0080.03814.90
5.4.210.0070.03915.09
5.4.200.0050.04014.92
5.4.190.0100.03515.07
5.4.180.0110.03814.96
5.4.170.0060.04014.99
5.4.160.0110.03315.06
5.4.150.0070.03915.09
5.4.140.0030.03213.75
5.4.130.0050.03913.59
5.4.120.0020.03913.70
5.4.110.0070.01713.71
5.4.100.0050.02313.69
5.4.90.0090.03513.77
5.4.80.0070.03913.65
5.4.70.0120.03113.65
5.4.60.0050.04313.82
5.4.50.0070.03813.82
5.4.40.0050.04013.73
5.4.30.0080.02413.70
5.4.20.0070.03313.64
5.4.10.0050.03713.68
5.4.00.0080.03613.44
5.3.290.0050.02512.55
5.3.280.0030.04112.54
5.3.270.0050.03912.61
5.3.260.0100.03512.54
5.3.250.0070.04012.61
5.3.240.0130.03712.48
5.3.230.0090.02012.51
5.3.220.0050.02612.55
5.3.210.0050.03912.53
5.3.200.0040.03812.39
5.3.190.0070.03112.56
5.3.180.0080.02312.54
5.3.170.0060.04012.54
5.3.160.0010.04612.52
5.3.150.0050.04012.46
5.3.140.0100.02212.66
5.3.130.0060.02412.65
5.3.120.0100.03712.52
5.3.110.0020.04712.56
5.3.100.0080.03912.36
5.3.90.0020.02512.38
5.3.80.0000.03812.24
5.3.70.0030.03312.27
5.3.60.0070.04212.12
5.3.50.0070.03612.13
5.3.40.0050.03412.27
5.3.30.0020.02812.17
5.3.20.0070.03712.03
5.3.10.0080.03511.87
5.3.00.0050.03511.80
5.2.170.0100.05711.25
5.2.160.0070.06311.34
5.2.150.0070.05311.25
5.2.140.0100.06011.08
5.2.130.0070.04711.16
5.2.120.0000.05711.04
5.2.110.0070.02711.04
5.2.100.0100.05311.25
5.2.90.0070.03011.02
5.2.80.0030.06711.27
5.2.70.0100.05711.14
5.2.60.0130.05710.97
5.2.50.0070.05711.18
5.2.40.0000.06711.11
5.2.30.0070.06311.02
5.2.20.0070.06011.01
5.2.10.0070.06011.06
5.2.00.0130.05310.85
5.1.60.0030.05310.74
5.1.50.0030.05010.74
5.1.40.0030.05010.74
5.1.30.0030.06010.74
5.1.20.0070.05310.74
5.1.10.0100.02310.74
5.1.00.0030.05310.74
5.0.50.0070.04310.74
5.0.40.0000.03310.74
5.0.30.0070.06010.74
5.0.20.0100.04010.74
5.0.10.0000.03310.74
5.0.00.0070.05710.74
4.4.90.0100.01710.74
4.4.80.0030.03310.74
4.4.70.0070.03310.74
4.4.60.0030.03010.74
4.4.50.0000.03010.74
4.4.40.0000.04710.74
4.4.30.0070.03010.74
4.4.20.0030.02310.74
4.4.10.0000.03710.74
4.4.00.0000.05710.74
4.3.110.0030.03710.74
4.3.100.0030.03310.74
4.3.90.0000.03310.74
4.3.80.0030.05010.74
4.3.70.0000.02310.74
4.3.60.0000.03710.74
4.3.50.0130.02710.74
4.3.40.0100.03710.74
4.3.30.0000.03310.74
4.3.20.0070.03310.74
4.3.10.0030.03310.74
4.3.00.0000.03010.74

preferences:
42.01 ms | 400 KiB | 5 Q