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>'); # $oPricingInfoNode->insertBefore( echo $oPricingInfoNode->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.60.0040.01118.55
8.3.50.0170.00321.99
8.3.40.0130.00719.14
8.3.30.0100.00320.55
8.3.20.0080.00018.82
8.3.10.0080.00021.40
8.3.00.0060.00319.93
8.2.180.0040.01117.13
8.2.170.0060.00922.96
8.2.160.0100.00320.64
8.2.150.0000.00824.18
8.2.140.0020.00524.66
8.2.130.0080.00026.16
8.2.120.0040.00420.20
8.2.110.0030.00620.65
8.2.100.0040.00817.97
8.2.90.0060.00318.47
8.2.80.0030.00619.71
8.2.70.0060.00617.88
8.2.60.0030.00718.29
8.2.50.0070.00418.07
8.2.40.0000.00818.47
8.2.30.0000.00719.68
8.2.20.0040.00417.89
8.2.10.0040.00417.91
8.2.00.0040.00418.04
8.1.280.0040.01125.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0000.00928.09
8.1.240.0040.00422.39
8.1.230.0110.00021.38
8.1.220.0000.00818.15
8.1.210.0050.01018.77
8.1.200.0030.00617.59
8.1.190.0080.00017.78
8.1.180.0040.00418.10
8.1.170.0040.00418.84
8.1.160.0040.00419.04
8.1.150.0000.00818.94
8.1.140.0040.00417.66
8.1.130.0070.00018.17
8.1.120.0070.00317.64
8.1.110.0050.00217.58
8.1.100.0040.00417.66
8.1.90.0030.00517.70
8.1.80.0020.00517.67
8.1.70.0070.00017.71
8.1.60.0060.00317.85
8.1.50.0070.00017.72
8.1.40.0000.00817.86
8.1.30.0040.00417.75
8.1.20.0030.00617.93
8.1.10.0000.00717.77
8.1.00.0040.00417.87
8.0.300.0000.00720.44
8.0.290.0040.00417.54
8.0.280.0030.00318.72
8.0.270.0030.00317.60
8.0.260.0000.00717.13
8.0.250.0060.00317.15
8.0.240.0080.00417.13
8.0.230.0070.00017.19
8.0.220.0030.00317.05
8.0.210.0000.00717.13
8.0.200.0000.00617.16
8.0.190.0040.00417.16
8.0.180.0000.00817.05
8.0.170.0040.00417.00
8.0.160.0080.00017.08
8.0.150.0070.00017.12
8.0.140.0000.00716.93
8.0.130.0050.00013.52
8.0.120.0000.00816.98
8.0.110.0040.00417.21
8.0.100.0000.00717.22
8.0.90.0070.00017.01
8.0.80.0080.00817.04
8.0.70.0040.00417.18
8.0.60.0040.00416.88
8.0.50.0030.00516.91
8.0.30.0130.00517.50
8.0.20.0080.01817.40
8.0.10.0040.00417.25
8.0.00.0110.00816.87
7.4.330.0030.00316.95
7.4.320.0030.00516.85
7.4.300.0080.00016.75
7.4.290.0000.00716.71
7.4.280.0000.00716.73
7.4.270.0030.00316.84
7.4.260.0000.00513.50
7.4.250.0060.00316.58
7.4.240.0070.00016.88
7.4.230.0030.00316.84
7.4.220.0110.00816.67
7.4.210.0080.00816.81
7.4.200.0000.00816.84
7.4.190.0000.00716.86
7.4.160.0060.00916.82
7.4.150.0110.00617.40
7.4.140.0080.01017.86
7.4.130.0100.00816.81
7.4.120.0100.01016.75
7.4.110.0070.01316.91
7.4.100.0080.01616.74
7.4.90.0120.01216.70
7.4.80.0070.01119.39
7.4.70.0100.00716.63
7.4.60.0100.00716.71
7.4.50.0030.00516.97
7.4.40.0070.00722.77
7.4.30.0150.00616.70
7.4.00.0090.00615.16
7.3.330.0000.00513.21
7.3.320.0040.00413.22
7.3.310.0000.00716.24
7.3.300.0070.00016.31
7.3.290.0160.00016.42
7.3.280.0080.00916.43
7.3.270.0160.01117.40
7.3.260.0070.01518.24
7.3.250.0090.00816.62
7.3.240.0130.00316.50
7.3.230.0130.00716.78
7.3.210.0040.01616.33
7.3.200.0100.00719.39
7.3.190.0030.01416.56
7.3.180.0060.01016.45
7.3.170.0090.00616.56
7.3.160.0110.00416.47
7.3.120.0060.00614.87
7.3.00.0030.01016.55
7.2.330.0070.01116.81
7.2.320.0060.01616.93
7.2.310.0060.01316.58
7.2.300.0050.01016.80
7.2.290.0060.00916.79
7.2.130.0160.00017.02
7.2.120.0000.01516.98
7.2.110.0070.00416.99
7.2.100.0090.00917.09
7.2.90.0030.00616.81
7.2.80.0070.00717.01
7.2.70.0070.01116.95
7.2.60.0060.00616.71
7.2.50.0060.01016.97
7.2.40.0060.01016.82
7.2.30.0040.00716.70
7.2.20.0030.00617.04
7.2.10.0070.00716.88
7.2.00.0060.00618.10
7.1.250.0000.01415.75
7.1.240.0000.01315.64
7.1.230.0060.01015.82
7.1.220.0060.00615.92
7.1.210.0110.00315.71
7.1.200.0020.01015.66
7.1.190.0030.01015.85
7.1.180.0000.00915.43
7.1.170.0060.00915.88
7.1.160.0000.01115.77
7.1.150.0040.00715.76
7.1.140.0040.01115.51
7.1.130.0030.01015.82
7.1.120.0070.00315.71
7.1.110.0070.00315.73
7.1.100.0030.01016.85
7.1.90.0090.00815.74
7.1.80.0030.00815.71
7.1.70.0020.00716.25
7.1.60.0050.00916.49
7.1.50.0050.01316.26
7.1.40.0040.01215.73
7.1.30.0000.01315.63
7.1.20.0000.00815.75
7.1.10.0240.00015.73
7.1.00.0050.01919.10
7.0.330.0070.00415.27
7.0.320.0090.00015.38
7.0.310.0040.01215.55
7.0.300.0000.01215.40
7.0.290.0030.00515.45
7.0.280.0000.00915.31
7.0.270.0030.00615.36
7.0.260.0030.00915.31
7.0.250.0000.01115.53
7.0.240.0040.00715.43
7.0.230.0030.00715.69
7.0.220.0030.00715.45
7.0.210.0090.00615.63
7.0.200.0040.00716.09
7.0.190.0030.00715.48
7.0.180.0140.00715.37
7.0.170.0040.00815.45
7.0.160.0090.00315.17
7.0.150.0040.00715.62
7.0.140.0050.03818.79
7.0.130.0060.00615.52
7.0.120.0070.00415.62
7.0.110.0060.00615.46
7.0.100.0050.02317.76
7.0.90.0070.03817.61
7.0.80.0090.04017.75
7.0.70.0270.03517.68
7.0.60.0260.03717.71
7.0.50.0210.02817.82
7.0.40.0070.04216.80
7.0.30.0100.02716.80
7.0.20.0040.04516.85
7.0.10.0070.04516.71
7.0.00.0070.03916.76
5.6.380.0080.00414.44
5.6.370.0040.00714.83
5.6.360.0040.00814.50
5.6.350.0040.00414.13
5.6.340.0040.01114.17
5.6.330.0000.01314.39
5.6.320.0030.00914.54
5.6.310.0060.00614.35
5.6.300.0070.00714.30
5.6.290.0080.00414.50
5.6.280.0030.04017.99
5.6.270.0040.01114.62
5.6.260.0040.00414.48
5.6.250.0080.04117.60
5.6.240.0080.04317.59
5.6.230.0020.05117.40
5.6.220.0100.03017.48
5.6.210.0060.04317.60
5.6.200.0050.04817.70
5.6.190.0070.04417.80
5.6.180.0100.04117.70
5.6.170.0080.03217.83
5.6.160.0100.03017.81
5.6.150.0120.04017.89
5.6.140.0170.03417.93
5.6.130.0050.05117.78
5.6.120.0020.03517.73
5.6.110.0080.04417.74
5.6.100.0100.03417.93
5.6.90.0100.04317.62
5.6.80.0140.03317.42
5.6.70.0030.04317.43
5.6.60.0110.04017.58
5.6.50.0020.03317.39
5.6.40.0090.04117.51
5.6.30.0150.03617.56
5.6.20.0070.04217.41
5.6.10.0030.04117.31
5.6.00.0050.03917.42
5.5.380.0050.02415.84
5.5.370.0000.02515.86
5.5.360.0030.03015.76
5.5.350.0030.03615.83
5.5.340.0070.04215.93
5.5.330.0030.04915.97
5.5.320.0100.04215.95
5.5.310.0080.03716.11
5.5.300.0070.04216.08
5.5.290.0030.04415.92
5.5.280.0070.03815.96
5.5.270.0070.04715.92
5.5.260.0060.04516.03
5.5.250.0080.03215.88
5.5.240.0100.03015.71
5.5.230.0050.04115.59
5.5.220.0000.02915.61
5.5.210.0070.03915.66
5.5.200.0120.03515.72
5.5.190.0020.05215.54
5.5.180.0070.04015.73
5.5.170.0000.00611.23
5.5.160.0090.03015.61
5.5.150.0100.03015.64
5.5.140.0050.02115.55
5.5.130.0050.03715.79
5.5.120.0020.04415.51
5.5.110.0030.04615.60
5.5.100.0060.03715.78
5.5.90.0060.03015.74
5.5.80.0000.03115.48
5.5.70.0030.02915.41
5.5.60.0020.04215.75
5.5.50.0060.04315.65
5.5.40.0080.03815.54
5.5.30.0030.04215.58
5.5.20.0050.04015.59
5.5.10.0080.03815.70
5.5.00.0060.04115.66
5.4.450.0070.04615.12
5.4.440.0120.03715.19
5.4.430.0050.02815.36
5.4.420.0100.04015.44
5.4.410.0070.02915.21
5.4.400.0050.04015.19
5.4.390.0020.04115.09
5.4.380.0100.02815.09
5.4.370.0110.03315.02
5.4.360.0040.04315.12
5.4.350.0080.03514.89
5.4.340.0100.03314.85
5.4.330.0000.00810.93
5.4.320.0030.02314.98
5.4.310.0030.02315.12
5.4.300.0030.03515.13
5.4.290.0100.02215.13
5.4.280.0050.04815.08
5.4.270.0030.02314.93
5.4.260.0060.02215.06
5.4.250.0050.03915.12
5.4.240.0070.03514.94
5.4.230.0020.04215.09
5.4.220.0080.01514.99
5.4.210.0020.04515.19
5.4.200.0060.03415.04
5.4.190.0070.04014.96
5.4.180.0050.04014.87
5.4.170.0030.03515.08
5.4.160.0040.04015.08
5.4.150.0050.03715.06
5.4.140.0060.02913.82
5.4.130.0060.02313.75
5.4.120.0070.03913.70
5.4.110.0020.03613.81
5.4.100.0000.04413.73
5.4.90.0030.03513.80
5.4.80.0030.02213.70
5.4.70.0080.03013.72
5.4.60.0050.02813.70
5.4.50.0000.04313.67
5.4.40.0060.02113.65
5.4.30.0050.02813.76
5.4.20.0030.02613.79
5.4.10.0040.04013.75
5.4.00.0070.03813.48
5.3.290.0030.02212.59
5.3.280.0030.04212.56
5.3.270.0070.02012.57
5.3.260.0060.03512.56
5.3.250.0070.03812.68
5.3.240.0090.02712.49
5.3.230.0080.04012.59
5.3.220.0020.02312.48
5.3.210.0030.04012.48
5.3.200.0040.03112.51
5.3.190.0050.03612.65
5.3.180.0060.03312.55
5.3.170.0030.04112.66
5.3.160.0030.02212.59
5.3.150.0050.03712.63
5.3.140.0080.01812.49
5.3.130.0050.03412.62
5.3.120.0040.03212.47
5.3.110.0040.03612.60
5.3.100.0030.02312.33
5.3.90.0050.03812.20
5.3.80.0030.03512.12
5.3.70.0060.02812.04
5.3.60.0050.01812.28
5.3.50.0030.03912.18
5.3.40.0040.03712.11
5.3.30.0050.03312.18
5.3.20.0100.03312.13
5.3.10.0080.03011.82
5.3.00.0050.02111.93
5.2.170.0020.03810.42
5.2.160.0040.02410.35
5.2.150.0020.03610.41
5.2.140.0030.01510.34
5.2.130.0070.01510.36
5.2.120.0050.01810.34
5.2.110.0070.03010.35
5.2.100.0050.02510.32
5.2.90.0030.02110.29
5.2.80.0050.01710.26
5.2.70.0040.03310.22
5.2.60.0030.01810.22
5.2.50.0000.01910.29
5.2.40.0030.03010.12
5.2.30.0030.03110.24
5.2.20.0060.02710.15
5.2.10.0000.03110.14
5.2.00.0040.02110.03
5.1.60.0030.0309.26
5.1.50.0010.0339.29
5.1.40.0020.0339.43
5.1.30.0030.0319.63
5.1.20.0050.0289.58
5.1.10.0060.0169.45
5.1.00.0050.0159.36
5.0.50.0030.0238.59
5.0.40.0020.0128.52
5.0.30.0030.0288.48
5.0.20.0030.0138.52
5.0.10.0040.0188.43
5.0.00.0040.0158.37
4.4.90.0030.0128.24
4.4.80.0030.0118.24
4.4.70.0010.0208.24
4.4.60.0020.0148.24
4.4.50.0040.0178.24
4.4.40.0070.0278.24
4.4.30.0030.0098.24
4.4.20.0000.0218.24
4.4.10.0020.0158.24
4.4.00.0020.0188.24
4.3.110.0030.0178.24
4.3.100.0020.0158.24
4.3.90.0030.0088.24
4.3.80.0000.0258.24
4.3.70.0020.0188.24
4.3.60.0030.0088.24
4.3.50.0020.0138.24
4.3.40.0020.0238.24
4.3.30.0060.0178.24
4.3.20.0030.0208.24
4.3.10.0030.0128.24
4.3.00.0000.0178.24

preferences:
48.97 ms | 401 KiB | 5 Q