3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlstr = '<?xml version="1.0" encoding="utf-8"?><entry xml:base="http://exact.test.fb:8020/services/Exact.Entity.REST.EG/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://exact.test.fb:8020/services/Exact.Entity.REST.EG/MandateAccount(84)</id><category term="Exact.Metadata.Entity.MandateAccount" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="MandateAccount" href="MandateAccount(84)" /><title /><updated>2014-08-11T10:23:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Account m:type="Edm.Guid">58bd69dd-3c41-4b8b-ac48-b7ae56e479fc</d:Account><d:BankAccountNumber>793-501-01 0044410117</d:BankAccountNumber><d:Creator m:type="Edm.Int32">9</d:Creator><d:CreatedDate m:type="Edm.DateTime">2014-08-11T12:23:03</d:CreatedDate><d:ModifiedDate m:type="Edm.DateTime">2014-08-11T12:23:03</d:ModifiedDate><d:Description m:null="true" /><d:ID m:type="Edm.Int32">84</d:ID><d:LastSEPADirectDebitDate m:type="Edm.DateTime" m:null="true" /><d:Modifier m:type="Edm.Int32">9</d:Modifier><d:PaymentCondition m:null="true" /><d:Reference>44498237</d:Reference><d:SequenceType>F</d:SequenceType><d:SignatureDate m:type="Edm.DateTime">2014-07-18T00:00:00</d:SignatureDate><d:SortOfMandate>C</d:SortOfMandate><d:Status>A</d:Status></m:properties></content></entry>'; $doc = new \DOMDocument(); $loaded = $doc->loadXML($xmlstr); var_dump($loaded);

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.0000.01616.88
8.3.60.0090.00616.59
8.3.50.0200.00022.91
8.3.40.0170.00318.87
8.3.30.0090.00919.17
8.3.20.0100.00720.46
8.3.10.0050.00321.98
8.3.00.0060.00317.93
8.2.180.0160.00616.88
8.2.170.0070.01422.96
8.2.160.0150.00420.61
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0070.00021.27
8.2.110.0060.00322.37
8.2.100.0080.00319.57
8.2.90.0000.00819.35
8.2.80.0040.00417.97
8.2.70.0090.00017.75
8.2.60.0040.00418.05
8.2.50.0000.00818.07
8.2.40.0070.00418.47
8.2.30.0040.00418.29
8.2.20.0050.00317.89
8.2.10.0070.00018.48
8.2.00.0040.00417.87
8.1.280.0120.00925.92
8.1.270.0050.00324.16
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00924.13
8.1.230.0100.00319.40
8.1.220.0000.00818.03
8.1.210.0040.00418.77
8.1.200.0040.00417.60
8.1.190.0000.00817.60
8.1.180.0050.00318.10
8.1.170.0030.00518.78
8.1.160.0030.00622.10
8.1.150.0050.00219.06
8.1.140.0080.00017.64
8.1.130.0070.00018.11
8.1.120.0070.00017.73
8.1.110.0040.00417.56
8.1.100.0040.00417.73
8.1.90.0040.00417.56
8.1.80.0070.00017.60
8.1.70.0050.00217.53
8.1.60.0040.00417.74
8.1.50.0050.00317.77
8.1.40.0040.00417.66
8.1.30.0060.00317.65
8.1.20.0040.00417.87
8.1.10.0000.00717.63
8.1.00.0030.00517.57
8.0.300.0000.00718.77
8.0.290.0040.00417.00
8.0.280.0000.00718.51
8.0.270.0070.00017.43
8.0.260.0030.00317.30
8.0.250.0000.00716.99
8.0.240.0040.00417.16
8.0.230.0000.00917.17
8.0.220.0000.00717.11
8.0.210.0060.00316.96
8.0.200.0030.00317.03
8.0.190.0050.00317.20
8.0.180.0040.00417.07
8.0.170.0030.00517.19
8.0.160.0030.00317.11
8.0.150.0030.00517.07
8.0.140.0040.00416.92
8.0.130.0030.00313.46
8.0.120.0000.00817.05
8.0.110.0040.00417.13
8.0.100.0000.00717.00
8.0.90.0040.00417.08
8.0.80.0130.00617.14
8.0.70.0000.00717.13
8.0.60.0070.00017.05
8.0.50.0000.00717.03
8.0.30.0090.01217.21
8.0.20.0150.00717.40
8.0.10.0050.00217.20
8.0.00.0090.00916.90
7.4.330.0000.00515.23
7.4.320.0050.00316.65
7.4.300.0030.00316.88
7.4.290.0000.00716.70
7.4.280.0000.00716.78
7.4.270.0000.00716.80
7.4.260.0070.00316.77
7.4.250.0040.00416.59
7.4.240.0030.00316.68
7.4.230.0000.00716.84
7.4.220.0070.01116.62
7.4.210.0130.00716.79
7.4.200.0030.00516.86
7.4.160.0130.00716.76
7.4.150.0040.01817.40
7.4.140.0150.00817.86
7.4.130.0090.00916.67
7.4.120.0140.00516.61
7.4.110.0060.01516.55
7.4.100.0070.01016.48
7.4.90.0100.01016.60
7.4.80.0060.01219.39
7.4.70.0040.01316.77
7.4.60.0100.00616.68
7.4.50.0000.00516.68
7.4.40.0110.01116.49
7.4.30.0100.00916.50
7.4.00.0100.00715.00
7.3.330.0030.00313.27
7.3.320.0030.00313.18
7.3.310.0040.00416.41
7.3.300.0030.00316.37
7.3.290.0130.00316.34
7.3.280.0070.01016.38
7.3.270.0150.00617.40
7.3.260.0120.00916.46
7.3.250.0050.01116.38
7.3.240.0150.00316.60
7.3.230.0100.00716.39
7.3.210.0090.00916.55
7.3.200.0130.01019.39
7.3.190.0180.00316.30
7.3.180.0090.00916.35
7.3.170.0140.00316.68
7.3.160.0090.00616.40
7.3.120.0050.01014.87
7.3.110.0000.01814.75
7.3.100.0110.00414.70
7.3.90.0070.01014.77
7.3.80.0120.00314.45
7.3.70.0060.00314.88
7.3.60.0030.00614.87
7.3.50.0030.01214.52
7.3.40.0100.00714.95
7.3.30.0040.01214.78
7.3.20.0140.00016.48
7.3.10.0110.00316.66
7.3.00.0040.00416.51
7.2.330.0150.00316.74
7.2.320.0100.00716.57
7.2.310.0060.01316.41
7.2.300.0120.00616.79
7.2.290.0030.01316.84
7.2.250.0070.01414.86
7.2.240.0070.01415.24
7.2.230.0070.00315.11
7.2.220.0060.00615.25
7.2.210.0000.01514.94
7.2.200.0030.01014.93
7.2.190.0030.01014.84
7.2.180.0120.00314.96
7.2.170.0070.00714.92
7.1.330.0060.00915.86
7.1.320.0040.01115.65
7.1.310.0060.00915.83
7.1.300.0060.00315.81
7.1.290.0080.00815.68
7.1.280.0030.01115.82
7.1.270.0040.00815.95
7.1.260.0030.00615.85
7.1.70.0000.00817.23
7.1.60.0030.02119.40
7.1.50.0100.01016.97
7.1.00.0070.07322.59
7.0.200.0100.00316.65
7.0.140.0100.06722.12
7.0.60.0070.07719.99
7.0.50.0030.05317.91
7.0.40.0170.07720.14
7.0.30.0300.07720.30
7.0.20.0330.05720.30
7.0.10.0030.09020.15
7.0.00.0130.08020.25
5.6.280.0100.06721.05
5.6.210.0070.07720.90
5.6.200.0070.05718.22
5.6.190.0070.06720.85
5.6.180.4070.04720.82
5.6.170.0170.04720.79
5.6.160.0170.05720.59
5.6.150.0100.05318.22
5.6.140.0030.04318.35
5.6.130.0100.08018.30
5.6.120.0000.09321.10
5.6.110.0130.07721.16
5.6.100.0070.04321.04
5.6.90.0100.04321.17
5.6.80.0130.06320.53
5.6.70.4330.04320.59
5.5.350.2330.03720.39
5.5.340.0100.03718.10
5.5.330.0030.05020.23
5.5.320.3900.04020.36
5.5.310.0370.04020.42
5.5.300.0070.04018.13
5.5.290.0100.08018.13
5.5.280.0070.09021.07
5.5.270.0100.07021.09
5.5.260.0070.06721.08
5.5.250.0070.07320.66
5.5.240.0430.06320.16
5.4.450.0200.04719.35
5.4.440.0230.04019.63
5.4.430.0300.07019.46
5.4.420.0330.06719.48
5.4.410.0300.03719.19
5.4.400.0370.06719.02
5.4.390.0330.04318.98
5.4.380.0370.07019.17
5.4.370.0270.04019.18
5.4.360.0300.06718.99
5.4.350.0230.07719.00
5.4.340.0270.06719.30
5.4.320.0470.07019.21
5.4.310.0270.07019.07
5.4.300.0330.06019.14
5.4.290.0330.07319.00
5.4.280.0330.05719.20
5.4.270.0230.04319.13
5.4.260.0370.07018.99
5.4.250.0270.03719.29
5.4.240.0370.07019.01
5.4.230.0330.06019.13
5.4.220.0200.03719.16
5.4.210.0170.03719.23
5.4.200.0170.04019.26
5.4.190.0230.03319.23
5.4.180.0170.03718.96
5.4.170.0100.04719.32
5.4.160.0200.03719.00
5.4.150.0130.04318.96
5.4.140.0300.03016.46
5.4.130.0170.03716.56
5.4.120.0200.03316.31
5.4.110.0200.03316.56
5.4.100.0270.03716.45
5.4.90.0200.03316.56
5.4.80.0270.03716.41
5.4.70.0200.03316.63
5.4.60.0270.03316.32
5.4.50.0200.03316.62
5.4.40.0130.04016.23
5.4.30.0270.03016.54
5.4.20.0230.03016.43
5.4.10.0200.03716.41
5.4.00.0200.03315.99
5.3.290.0270.04714.78
5.3.280.0200.04014.71
5.3.270.0200.04714.55
5.3.260.0130.04714.80
5.3.250.0100.04314.61
5.3.240.0170.04314.59
5.3.230.0200.03714.54
5.3.220.0230.03014.56
5.3.210.0230.03314.49
5.3.200.0200.03714.51
5.3.190.0170.03714.53
5.3.180.0170.04014.70
5.3.170.0230.03314.60
5.3.160.0200.04014.71
5.3.150.0270.03314.55
5.3.140.0200.03714.70
5.3.130.0230.03314.53
5.3.120.0170.03714.54
5.3.110.0130.04014.56
5.3.100.0170.04014.01
5.3.90.0200.03714.05
5.3.80.0170.04314.05
5.3.70.0170.04014.00
5.3.60.0170.05313.99
5.3.50.0330.06313.95
5.3.40.0230.05314.14
5.3.30.0270.07713.95
5.3.20.0330.05313.89
5.3.10.0300.04013.84
5.3.00.0300.07013.52
5.2.170.0270.06011.25
5.2.160.0230.05311.14
5.2.150.0270.05011.25
5.2.140.0300.06011.18
5.2.130.0300.02311.25
5.2.120.0200.03011.09
5.2.110.0270.04711.21
5.2.100.0170.04011.09
5.2.90.0200.05011.09
5.2.80.0200.04311.32
5.2.70.0170.03311.07
5.2.60.0170.03011.23
5.2.50.0370.03711.25
5.2.40.0170.05011.17
5.2.30.0230.05010.95
5.2.20.0230.04710.98
5.2.10.0230.02710.93
5.2.00.0200.05010.81
5.1.60.0200.03010.06
5.1.50.0170.03310.04
5.1.40.0330.03710.01
5.1.30.0170.03010.56
5.1.20.0200.05310.41
5.1.10.0170.03310.11
5.1.00.0200.05010.31
5.0.50.0100.0479.86
5.0.40.0170.0339.86
5.0.30.0130.0439.86
5.0.20.0100.0339.86
5.0.10.0100.0309.86
5.0.00.0170.0579.86
4.4.90.0130.0209.86
4.4.80.0070.0239.86
4.4.70.0100.0179.86
4.4.60.0070.0209.86
4.4.50.0130.0239.86
4.4.40.0130.0579.86
4.4.30.0100.0209.86
4.4.20.0070.0239.86
4.4.10.0200.0279.86
4.4.00.0100.0439.86
4.3.110.0070.0379.86
4.3.100.0130.0179.86
4.3.90.0100.0139.86
4.3.80.0170.0409.86
4.3.70.0130.0279.86
4.3.60.0100.0279.86
4.3.50.0070.0309.86
4.3.40.0100.0539.86
4.3.30.0000.0239.86
4.3.20.0100.0209.86
4.3.10.0030.0209.86
4.3.00.0030.0239.86

preferences:
50.37 ms | 401 KiB | 5 Q