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: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.0140.00018.43
8.3.50.0130.00221.99
8.3.40.0090.00618.81
8.3.30.0070.00719.14
8.3.20.0040.00420.46
8.3.10.0040.00423.66
8.3.00.0050.00321.02
8.2.180.0150.00317.00
8.2.170.0150.00622.96
8.2.160.0130.00020.60
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0080.00021.07
8.2.110.0060.00322.64
8.2.100.0030.00917.75
8.2.90.0070.00019.40
8.2.80.0050.00317.97
8.2.70.0050.00517.63
8.2.60.0050.00318.16
8.2.50.0030.00718.07
8.2.40.0040.00418.21
8.2.30.0000.00818.39
8.2.20.0040.00417.85
8.2.10.0040.00418.36
8.2.00.0080.00017.83
8.1.280.0160.00325.92
8.1.270.0060.00324.21
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0080.00022.72
8.1.230.0040.00817.61
8.1.220.0040.00417.91
8.1.210.0000.00818.77
8.1.200.0100.00017.60
8.1.190.0040.00417.25
8.1.180.0050.00318.10
8.1.170.0080.00018.70
8.1.160.0000.00822.23
8.1.150.0000.00718.71
8.1.140.0040.00417.64
8.1.130.0000.00717.98
8.1.120.0000.00717.58
8.1.110.0000.00717.57
8.1.100.0050.00317.55
8.1.90.0030.00317.68
8.1.80.0040.00417.54
8.1.70.0030.00317.64
8.1.60.0030.00617.79
8.1.50.0080.00017.73
8.1.40.0030.00617.62
8.1.30.0060.00317.80
8.1.20.0040.00417.84
8.1.10.0000.00817.79
8.1.00.0040.00417.56
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0040.00418.59
8.0.270.0030.00417.34
8.0.260.0000.00617.33
8.0.250.0000.00816.99
8.0.240.0040.00417.03
8.0.230.0000.00717.04
8.0.220.0000.00816.99
8.0.210.0000.00717.09
8.0.200.0030.00316.98
8.0.190.0000.00817.08
8.0.180.0040.00416.99
8.0.170.0050.00217.02
8.0.160.0000.00716.95
8.0.150.0000.00816.89
8.0.140.0040.00417.11
8.0.130.0040.00413.46
8.0.120.0000.00817.10
8.0.110.0000.00816.97
8.0.100.0070.00017.00
8.0.90.0070.00017.09
8.0.80.0090.00617.12
8.0.70.0050.00316.99
8.0.60.0000.00817.11
8.0.50.0040.00417.13
8.0.30.0090.00917.30
8.0.20.0130.00617.43
8.0.10.0040.00417.25
8.0.00.0080.00916.97
7.4.330.0050.00015.20
7.4.320.0000.00616.61
7.4.300.0030.00316.88
7.4.290.0030.00716.70
7.4.280.0030.00316.76
7.4.270.0030.00516.72
7.4.260.0000.00716.53
7.4.250.0070.00016.71
7.4.240.0060.00216.76
7.4.230.0000.00716.80
7.4.220.0070.01816.69
7.4.210.0120.00316.79
7.4.200.0030.00316.67
7.4.160.0080.00816.43
7.4.150.0140.00317.40
7.4.140.0060.01417.86
7.4.130.0100.01016.76
7.4.120.0120.00616.76
7.4.110.0130.01016.46
7.4.100.0060.01216.65
7.4.90.0100.00616.68
7.4.80.0070.01019.39
7.4.70.0130.00516.68
7.4.60.0090.00916.57
7.4.50.0040.00416.66
7.4.40.0100.00616.71
7.4.30.0110.00516.56
7.4.00.0070.01014.99
7.3.330.0050.00013.05
7.3.320.0000.00613.27
7.3.310.0000.00716.39
7.3.300.0030.00316.36
7.3.290.0090.00616.36
7.3.280.0070.01016.34
7.3.270.0160.00317.40
7.3.260.0100.00716.28
7.3.250.0090.00916.43
7.3.240.0130.00316.47
7.3.230.0100.01316.59
7.3.210.0140.00816.41
7.3.200.0140.00719.39
7.3.190.0100.01316.36
7.3.180.0090.00616.35
7.3.170.0090.01216.50
7.3.160.0080.00816.54
7.3.120.0090.00614.87
7.3.110.0100.00714.50
7.3.100.0040.01214.93
7.3.90.0030.00614.93
7.3.80.0040.00715.29
7.3.70.0060.00314.84
7.3.60.0070.01014.61
7.3.50.0110.00814.84
7.3.40.0030.01414.57
7.3.30.0050.00514.49
7.3.20.0070.00716.50
7.3.10.0090.00316.57
7.3.00.0050.00816.53
7.2.330.0070.01716.85
7.2.320.0090.00616.57
7.2.310.0090.00916.86
7.2.300.0120.00916.71
7.2.290.0100.01016.64
7.2.250.0060.01315.05
7.2.240.0100.01015.20
7.2.230.0070.00715.04
7.2.220.0070.00715.08
7.2.210.0000.01614.82
7.2.200.0060.00914.83
7.2.190.0070.00714.92
7.2.180.0030.00915.11
7.2.170.0060.01315.00
7.2.130.0130.01016.66
7.2.120.0070.00716.75
7.2.110.0030.01016.97
7.2.100.0070.00716.77
7.2.90.0000.01116.80
7.2.80.0030.01616.92
7.2.70.0060.00917.01
7.2.60.0040.00817.01
7.2.50.0130.00316.80
7.2.40.0000.01316.99
7.2.30.0040.01116.66
7.2.20.0060.00616.81
7.2.10.0040.00716.55
7.2.00.0060.00916.77
7.1.330.0030.01015.61
7.1.320.0060.00915.91
7.1.310.0090.00615.89
7.1.300.0120.00315.58
7.1.290.0100.00315.80
7.1.280.0030.01415.60
7.1.270.0070.00315.71
7.1.260.0090.00615.73
7.1.250.0070.00415.53
7.1.200.0030.00915.83
7.1.70.0000.01117.14
7.1.60.0100.01419.70
7.1.50.0070.01416.54
7.1.00.0100.07022.44
7.0.200.0030.00316.85
7.0.140.0070.07022.11
7.0.60.0100.08721.70
7.0.50.0100.07017.81
7.0.40.0070.04020.49
7.0.30.0430.04320.18
7.0.20.0200.04720.34
7.0.10.0270.05020.12
7.0.00.0130.06320.38
5.6.280.0030.07321.05
5.6.210.0030.06720.67
5.6.200.0170.07318.27
5.6.190.0070.04020.49
5.6.180.3600.04020.75
5.6.170.0200.04020.53
5.6.160.0170.05720.54
5.6.150.0130.07318.32
5.6.140.0030.08718.32
5.6.130.0070.05318.27
5.6.120.0070.05021.18
5.6.110.0130.05721.13
5.6.100.0070.04021.04
5.6.90.0170.06721.18
5.6.80.0070.08320.57
5.5.350.4170.04020.53
5.5.340.0030.07718.11
5.5.330.0000.04720.30
5.5.320.0400.07320.51
5.5.310.0330.07020.51
5.5.300.0070.06718.10
5.5.290.0130.07018.02
5.5.280.0070.04020.88
5.5.270.0070.04020.88
5.5.260.0000.09020.92
5.5.250.0000.10020.84
5.5.240.0270.07020.34
5.4.450.0230.07719.66
5.4.440.0230.07319.60
5.4.430.0270.05319.60
5.4.420.0230.04319.34
5.4.410.0200.04019.52
5.4.400.0200.05019.34
5.4.390.0230.08019.02
5.4.380.0230.08019.18
5.4.370.0300.06319.31
5.4.360.0270.07019.15
5.4.350.0270.05019.17
5.4.340.0200.04019.31
5.4.320.0230.07319.18
5.4.310.0230.07319.21
5.4.300.0230.07319.14
5.4.290.0230.06019.22
5.4.280.0200.06319.00
5.4.270.0270.07019.32
5.4.260.0200.07319.01
5.4.250.0300.04319.16
5.4.240.0230.05019.32
5.4.230.0370.03019.01
5.4.220.0200.04319.29
5.4.210.0200.07019.16
5.4.200.0200.07318.99
5.4.190.0070.05319.29
5.4.180.0130.05018.99
5.4.170.0200.06319.29
5.4.160.0130.04319.15
5.4.150.0200.07019.20
5.4.140.0170.05316.59
5.4.130.0230.05716.32
5.4.120.0330.06316.47
5.4.110.0170.03716.59
5.4.100.0130.04016.43
5.4.90.0100.04316.47
5.4.80.0270.07316.57
5.4.70.0130.04316.55
5.4.60.0200.03716.54
5.4.50.0300.04716.57
5.4.40.0270.06716.63
5.4.30.0230.04016.54
5.4.20.0200.03316.50
5.4.10.0200.04316.56
5.4.00.0200.03716.02
5.3.290.0230.03714.80
5.3.280.0270.05014.63
5.3.270.0170.04014.60
5.3.260.0100.06014.63
5.3.250.0270.06714.78
5.3.240.0270.07014.79
5.3.230.0230.03714.60
5.3.220.0230.04014.49
5.3.210.0130.04314.57
5.3.200.0170.03714.74
5.3.190.0200.05714.70
5.3.180.0270.06014.55
5.3.170.0300.04014.55
5.3.160.0200.03714.55
5.3.150.0200.07714.60
5.3.140.0230.03314.59
5.3.130.0170.04014.68
5.3.120.0200.04014.47
5.3.110.0170.04014.66
5.3.100.0200.03714.07
5.3.90.0200.04314.23
5.3.80.0170.04013.98
5.3.70.0200.03713.90
5.3.60.0300.03314.04
5.3.50.0270.06713.83
5.3.40.0200.07313.95
5.3.30.0330.06013.95
5.3.20.0230.07013.57
5.3.10.0230.04713.69
5.3.00.0270.04013.63
5.2.170.0270.02711.39
5.2.160.0270.05711.17
5.2.150.0270.02711.17
5.2.140.0200.06011.07
5.2.130.0200.04311.09
5.2.120.0200.03011.20
5.2.110.0230.05311.09
5.2.100.0170.06311.09
5.2.90.0200.05711.09
5.2.80.0230.03311.23
5.2.70.0230.04011.07
5.2.60.0230.05311.05
5.2.50.0170.05011.01
5.2.40.0200.04011.09
5.2.30.0170.03710.91
5.2.20.0170.02710.94
5.2.10.0130.03311.11
5.2.00.0270.02710.91
5.1.60.0200.02710.18
5.1.50.0270.04310.18
5.1.40.0170.05310.18
5.1.30.0200.05010.37
5.1.20.0170.04010.39
5.1.10.0170.02710.18
5.1.00.0200.04310.18
5.0.50.0130.03310.18
5.0.40.0170.03710.18
5.0.30.0130.04010.18
5.0.20.0030.02710.18
5.0.10.0070.02310.18
5.0.00.0070.03310.18
4.4.90.0100.02010.18
4.4.80.0100.03010.18
4.4.70.0100.02310.18
4.4.60.0070.03010.18
4.4.50.0100.02010.18
4.4.40.0070.03710.18
4.4.30.0100.03710.18
4.4.20.0130.01310.18
4.4.10.0100.03010.18
4.4.00.0170.04310.18
4.3.110.0030.01710.18
4.3.100.0070.02010.18
4.3.90.0070.01310.18
4.3.80.0100.04010.18
4.3.70.0070.02310.18
4.3.60.0030.02310.18
4.3.50.0100.02010.18
4.3.40.0130.03710.18
4.3.30.0030.04010.18
4.3.20.0030.02010.18
4.3.10.0000.02710.18
4.3.00.0030.02710.18

preferences:
52.59 ms | 401 KiB | 5 Q