3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oPricingInfoNode = new DOMDocument(); $oPricingInfoNode->loadXML('<air:AirPricingSolution 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.0150.00018.55
8.3.50.0140.00521.96
8.3.40.0060.00919.10
8.3.30.0000.01420.72
8.3.20.0080.00019.17
8.3.10.0000.00821.05
8.3.00.0080.00020.06
8.2.180.0090.00916.75
8.2.170.0150.00422.96
8.2.160.0070.00720.68
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0110.00420.01
8.2.110.0030.00722.48
8.2.100.0040.00817.84
8.2.90.0080.00018.03
8.2.80.0030.00617.97
8.2.70.0030.00617.75
8.2.60.0040.00418.05
8.2.50.0000.00818.07
8.2.40.0030.00620.16
8.2.30.0000.00819.54
8.2.20.0050.00217.82
8.2.10.0050.00317.71
8.2.00.0030.00717.69
8.1.280.0100.00625.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0020.00528.09
8.1.240.0060.01222.39
8.1.230.0070.00421.09
8.1.220.0040.00418.03
8.1.210.0040.00419.06
8.1.200.0040.00417.48
8.1.190.0040.00417.53
8.1.180.0000.00818.10
8.1.170.0040.00418.71
8.1.160.0050.00219.12
8.1.150.0040.00418.89
8.1.140.0040.00417.61
8.1.130.0080.00018.02
8.1.120.0030.00617.52
8.1.110.0040.00417.48
8.1.100.0070.00017.66
8.1.90.0050.00217.67
8.1.80.0050.00317.47
8.1.70.0000.00717.53
8.1.60.0030.00617.75
8.1.50.0000.00817.50
8.1.40.0040.00417.57
8.1.30.0000.00717.86
8.1.20.0030.00517.71
8.1.10.0040.00417.89
8.1.00.0080.00017.75
8.0.300.0040.00420.11
8.0.290.0030.00617.29
8.0.280.0030.00318.46
8.0.270.0040.00417.40
8.0.260.0040.00416.91
8.0.250.0070.00017.20
8.0.240.0040.00417.23
8.0.230.0030.00317.06
8.0.220.0040.00417.10
8.0.210.0000.00917.09
8.0.200.0060.00017.18
8.0.190.0000.00717.04
8.0.180.0000.00717.20
8.0.170.0000.00717.03
8.0.160.0030.00517.24
8.0.150.0030.00617.03
8.0.140.0000.00717.03
8.0.130.0000.00613.54
8.0.120.0080.00017.05
8.0.110.0040.00416.95
8.0.100.0070.00017.11
8.0.90.0020.00516.92
8.0.80.0090.00617.04
8.0.70.0040.00417.06
8.0.60.0040.00417.14
8.0.50.0070.00017.06
8.0.30.0100.00817.44
8.0.20.0090.00917.41
8.0.10.0000.00816.97
8.0.00.0120.00817.12
7.4.330.0020.00217.29
7.4.320.0030.00316.73
7.4.300.0000.00716.82
7.4.290.0000.00716.66
7.4.280.0000.00816.55
7.4.270.0030.00316.68
7.4.260.0000.00513.46
7.4.250.0040.00416.74
7.4.240.0000.00816.80
7.4.230.0030.00316.55
7.4.220.0070.01316.58
7.4.210.0080.01016.72
7.4.200.0030.00316.85
7.4.190.0000.00716.48
7.4.160.0130.01016.73
7.4.150.0090.00917.40
7.4.140.0100.00917.86
7.4.130.0110.00816.79
7.4.120.0140.00316.78
7.4.110.0090.01516.63
7.4.100.0000.01716.45
7.4.90.0070.01316.87
7.4.80.0150.00619.39
7.4.70.0100.00616.75
7.4.60.0080.01416.57
7.4.50.0060.00316.75
7.4.40.0050.00522.77
7.4.30.0190.00416.69
7.4.00.0030.01014.89
7.3.330.0000.00513.42
7.3.320.0050.00013.42
7.3.310.0000.00816.54
7.3.300.0000.00716.30
7.3.290.0120.00316.48
7.3.280.0110.01016.42
7.3.270.0130.00417.40
7.3.260.0070.01418.24
7.3.250.0090.00916.45
7.3.240.0150.00416.46
7.3.230.0120.00616.39
7.3.210.0070.01016.52
7.3.200.0120.00619.39
7.3.190.0110.00716.65
7.3.180.0130.00316.51
7.3.170.0070.01016.44
7.3.160.0030.01216.35
7.3.120.0100.00614.93
7.3.00.0090.00716.17
7.2.330.0100.01016.45
7.2.320.0150.00316.56
7.2.310.0120.00916.84
7.2.300.0070.01116.58
7.2.290.0120.00916.57
7.2.130.0080.00916.70
7.2.120.0090.00716.66
7.2.110.0140.00316.60
7.2.100.0090.00916.59
7.2.90.0080.00516.80
7.2.80.0090.00916.89
7.2.70.0110.00916.85
7.2.60.0090.00816.67
7.2.50.0070.00816.57
7.2.40.0130.00916.86
7.2.30.0120.00716.80
7.2.20.0110.00616.50
7.2.10.0070.01216.78
7.2.00.0100.00617.73
7.1.250.0100.00515.48
7.1.240.0030.01215.49
7.1.230.0090.00315.40
7.1.220.0070.01215.58
7.1.210.0080.01415.63
7.1.200.0110.00715.70
7.1.190.0110.01015.52
7.1.180.0100.01015.71
7.1.170.0100.00915.33
7.1.160.0140.00915.69
7.1.150.0110.00415.46
7.1.140.0050.00715.51
7.1.130.0070.00615.38
7.1.120.0070.00615.35
7.1.110.0110.00615.69
7.1.100.0060.00916.50
7.1.90.0170.00315.53
7.1.80.0140.00315.47
7.1.70.0090.00316.23
7.1.60.0080.01016.79
7.1.50.0110.00515.91
7.1.40.0080.00615.54
7.1.30.0090.00815.72
7.1.20.0060.00715.70
7.1.10.0080.00815.47
7.1.00.0090.02417.78
7.0.330.0040.00615.09
7.0.320.0130.01015.07
7.0.310.0120.00715.20
7.0.300.0140.00215.26
7.0.290.0130.00715.17
7.0.280.0060.00715.29
7.0.270.0080.00515.25
7.0.260.0100.00615.25
7.0.250.0090.00515.09
7.0.240.0070.00915.15
7.0.230.0060.00915.33
7.0.220.0080.00315.22
7.0.210.0120.00515.33
7.0.200.0050.00815.81
7.0.190.0080.00815.22
7.0.180.0090.00515.13
7.0.170.0030.01015.11
7.0.160.0070.01115.14
7.0.150.0130.00415.21
7.0.140.0030.03117.58
7.0.130.0080.00815.27
7.0.120.0090.00715.23
7.0.110.0050.00915.36
7.0.100.0080.03716.90
7.0.90.0100.02816.93
7.0.80.0060.03316.80
7.0.70.0090.02516.90
7.0.60.0070.02816.95
7.0.50.0080.02716.97
7.0.40.0080.03215.59
7.0.30.0090.02915.51
7.0.20.0040.03215.64
7.0.10.0080.02915.59
7.0.00.0030.03315.63
5.6.380.0050.01314.18
5.6.370.0070.00714.56
5.6.360.0080.00614.24
5.6.350.0100.00114.36
5.6.340.0020.01214.33
5.6.330.0030.01214.29
5.6.320.0080.00514.40
5.6.310.0040.00514.41
5.6.300.0030.01014.28
5.6.290.0070.00614.38
5.6.280.0050.03016.50
5.6.270.0020.01114.33
5.6.260.0030.00814.16
5.6.250.0100.03016.24
5.6.240.0100.03016.45
5.6.230.0100.02916.42
5.6.220.0020.03816.49
5.6.210.0090.03016.45
5.6.200.0060.02916.59
5.6.190.0070.03216.36
5.6.180.0070.03216.62
5.6.170.0060.03216.57
5.6.160.0070.02916.56
5.6.150.0080.03016.69
5.6.140.0040.03316.50
5.6.130.0050.03316.57
5.6.120.0040.03116.72
5.6.110.0070.03016.55
5.6.100.0070.03216.52
5.6.90.0050.02916.44
5.6.80.0100.02716.23
5.6.70.0050.02116.21
5.6.60.0060.03316.31
5.6.50.0080.02916.34
5.6.40.0040.03416.28
5.6.30.0070.03116.32
5.6.20.0050.02616.13
5.6.10.0080.02816.18
5.6.00.0100.02716.28
5.5.380.0090.02214.33
5.5.370.0050.03014.36
5.5.360.0080.02314.30
5.5.350.0090.02814.31
5.5.340.0020.03514.38
5.5.330.0050.02814.37
5.5.320.0080.02714.35
5.5.310.0070.02814.46
5.5.300.0080.02814.34
5.5.290.0080.03014.37
5.5.280.0040.03114.37
5.5.270.0070.02114.37
5.5.260.0030.03514.45
5.5.250.0120.01714.38
5.5.240.0100.02614.15
5.5.230.0080.02714.21
5.5.220.0070.02314.22
5.5.210.0080.02914.16
5.5.200.0090.02714.17
5.5.190.0040.03014.22
5.5.180.0030.03214.24
5.5.170.0070.00411.07
5.5.160.0040.03014.20
5.5.150.0030.03214.19
5.5.140.0070.02614.14
5.5.130.0050.03014.14
5.5.120.0030.02814.17
5.5.110.0030.02914.12
5.5.100.0040.02714.06
5.5.90.0020.03314.06
5.5.80.0070.02014.17
5.5.70.0070.02614.15
5.5.60.0050.03014.15
5.5.50.0080.02814.19
5.5.40.0080.02614.15
5.5.30.0060.02914.04
5.5.20.0060.02814.15
5.5.10.0080.02914.16
5.5.00.0030.03314.08
5.4.450.0040.03013.78
5.4.440.0060.02313.92
5.4.430.0030.02513.81
5.4.420.0040.02813.77
5.4.410.0050.02713.79
5.4.400.0030.03013.70
5.4.390.0060.02313.68
5.4.380.0080.02213.78
5.4.370.0080.02213.67
5.4.360.0060.03013.77
5.4.350.0050.02913.79
5.4.340.0020.03513.81
5.4.330.0030.00810.98
5.4.320.0080.02513.78
5.4.310.0060.02713.73
5.4.300.0050.02813.76
5.4.290.0080.02313.60
5.4.280.0020.02213.63
5.4.270.0070.02913.79
5.4.260.0040.02913.77
5.4.250.0040.02413.68
5.4.240.0100.02613.71
5.4.230.0080.02913.78
5.4.220.0050.02813.65
5.4.210.0090.02513.69
5.4.200.0070.02413.76
5.4.190.0060.02913.65
5.4.180.0030.02113.69
5.4.170.0120.02313.66
5.4.160.0050.02813.80
5.4.150.0070.02413.75
5.4.140.0040.02712.93
5.4.130.0030.02312.79
5.4.120.0080.02512.84
5.4.110.0040.02712.84
5.4.100.0050.02512.80
5.4.90.0030.02012.91
5.4.80.0060.02412.92
5.4.70.0020.02812.94
5.4.60.0070.02612.88
5.4.50.0050.02812.99
5.4.40.0050.02212.88
5.4.30.0040.03012.91
5.4.20.0040.03212.79
5.4.10.0050.03212.83
5.4.00.0080.02312.60
5.3.290.0060.02812.27
5.3.280.0030.03112.13
5.3.270.0050.02912.11
5.3.260.0070.02512.14
5.3.250.0010.03012.12
5.3.240.0040.02812.17
5.3.230.0040.03012.17
5.3.220.0060.02412.15
5.3.210.0060.02112.15
5.3.200.0050.02912.10
5.3.190.0050.03012.07
5.3.180.0060.02812.24
5.3.170.0030.01912.22
5.3.160.0070.02812.24
5.3.150.0060.02712.21
5.3.140.0030.02212.20
5.3.130.0060.02612.20
5.3.120.0030.03012.17
5.3.110.0050.02912.13
5.3.100.0090.02512.01
5.3.90.0070.02611.97
5.3.80.0080.02711.95
5.3.70.0080.02811.93
5.3.60.0070.02611.97
5.3.50.0050.02611.89
5.3.40.0030.03211.85
5.3.30.0050.02611.83
5.3.20.0070.01511.78
5.3.10.0070.02611.75
5.3.00.0110.02411.64
5.2.170.0060.02210.74
5.2.160.0040.01610.63
5.2.150.0050.02010.68
5.2.140.0050.02410.61
5.2.130.0030.02310.54
5.2.120.0060.02210.64
5.2.110.0030.02610.67
5.2.100.0050.02510.54
5.2.90.0060.02210.68
5.2.80.0030.02310.54
5.2.70.0030.01710.59
5.2.60.0100.01910.56
5.2.50.0090.01810.54
5.2.40.0030.02510.59
5.2.30.0040.02510.60
5.2.20.0070.02010.49
5.2.10.0050.01810.42
5.2.00.0030.01510.39
5.1.60.0040.0109.95
5.1.50.0050.0149.86
5.1.40.0050.0119.92
5.1.30.0030.01210.12
5.1.20.0010.01310.10
5.1.10.0030.01110.04
5.1.00.0040.0129.94
5.0.50.0020.0129.83
5.0.40.0030.0099.83
5.0.30.0030.0129.83
5.0.20.0050.0069.83
5.0.10.0040.0089.83
5.0.00.0020.0159.83
4.4.90.0060.0109.83
4.4.80.0020.0159.83
4.4.70.0010.0159.83
4.4.60.0000.0149.83
4.4.50.0040.0079.83
4.4.40.0030.0119.83
4.4.30.0020.0119.83
4.4.20.0020.0099.83
4.4.10.0010.0089.83
4.4.00.0020.0119.83
4.3.110.0030.0089.83
4.3.100.0040.0079.83
4.3.90.0030.0059.83
4.3.80.0040.0189.83
4.3.70.0010.0119.83
4.3.60.0050.0089.83
4.3.50.0030.0099.83
4.3.40.0030.0099.83
4.3.30.0030.0139.83
4.3.20.0010.0109.83
4.3.10.0050.0109.83
4.3.00.0030.0089.83

preferences:
32.72 ms | 401 KiB | 5 Q