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.60.0140.00017.00
8.3.50.0150.00423.01
8.3.40.0030.01718.84
8.3.30.0130.01019.09
8.3.20.0000.00720.54
8.3.10.0040.00422.15
8.3.00.0040.00418.16
8.2.180.0060.00916.85
8.2.170.0110.00322.96
8.2.160.0000.01320.78
8.2.150.0070.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0050.00321.22
8.2.110.0000.00919.38
8.2.100.0110.00018.28
8.2.90.0030.00619.38
8.2.80.0000.00817.97
8.2.70.0000.01017.63
8.2.60.0050.00318.05
8.2.50.0060.00318.07
8.2.40.0000.00918.31
8.2.30.0050.00318.23
8.2.20.0070.00017.93
8.2.10.0030.00618.25
8.2.00.0040.00417.88
8.1.280.0080.01125.92
8.1.270.0040.00424.04
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0000.00922.25
8.1.230.0030.00921.14
8.1.220.0040.00418.03
8.1.210.0000.00818.77
8.1.200.0040.00717.60
8.1.190.0000.00817.48
8.1.180.0060.00318.10
8.1.170.0030.00518.61
8.1.160.0000.00722.20
8.1.150.0040.00419.02
8.1.140.0040.00417.64
8.1.130.0000.00718.08
8.1.120.0000.00817.71
8.1.110.0030.00617.74
8.1.100.0000.00717.61
8.1.90.0040.00417.73
8.1.80.0000.00717.72
8.1.70.0040.00417.52
8.1.60.0050.00317.81
8.1.50.0040.00417.57
8.1.40.0080.00017.61
8.1.30.0000.00817.79
8.1.20.0090.00017.79
8.1.10.0040.00417.71
8.1.00.0070.00017.76
8.0.300.0020.00518.77
8.0.290.0080.00016.88
8.0.280.0050.00318.66
8.0.270.0030.00317.52
8.0.260.0000.00717.47
8.0.250.0030.00317.16
8.0.240.0000.00817.08
8.0.230.0060.00317.13
8.0.220.0030.00317.06
8.0.210.0100.00017.15
8.0.200.0000.00617.01
8.0.190.0000.00817.03
8.0.180.0030.00317.03
8.0.170.0040.00417.00
8.0.160.0040.00417.09
8.0.150.0030.00517.08
8.0.140.0060.00317.09
8.0.130.0070.00013.50
8.0.120.0040.00416.92
8.0.110.0000.00816.95
8.0.100.0000.00817.02
8.0.90.0040.00417.04
8.0.80.0040.01117.06
8.0.70.0050.00216.95
8.0.60.0070.00016.89
8.0.50.0040.00416.99
8.0.30.0080.01117.34
8.0.20.0090.01017.40
8.0.10.0000.00817.03
8.0.00.0120.00916.90
7.4.330.0050.00015.19
7.4.320.0030.00316.85
7.4.300.0000.00616.83
7.4.290.0000.00716.79
7.4.280.0030.00516.74
7.4.270.0000.00716.72
7.4.260.0070.00316.67
7.4.250.0040.00416.57
7.4.240.0020.00516.71
7.4.230.0030.00316.79
7.4.220.0100.00716.83
7.4.210.0070.01316.58
7.4.200.0000.00716.48
7.4.160.0110.00416.57
7.4.150.0110.00717.40
7.4.140.0130.00517.86
7.4.130.0060.01116.68
7.4.120.0080.01016.68
7.4.110.0030.01416.60
7.4.100.0100.00716.68
7.4.90.0070.01116.74
7.4.80.0090.00919.39
7.4.70.0140.00316.66
7.4.60.0090.00816.57
7.4.50.0060.00016.75
7.4.40.0170.00016.74
7.4.30.0100.00716.70
7.4.10.0030.01215.06
7.4.00.0080.00814.93
7.3.330.0000.00713.07
7.3.320.0020.00213.25
7.3.310.0000.00716.31
7.3.300.0000.00716.23
7.3.290.0070.00716.44
7.3.280.0090.00816.40
7.3.270.0130.00617.40
7.3.260.0080.00816.66
7.3.250.0100.00716.39
7.3.240.0060.01516.39
7.3.230.0130.00316.60
7.3.210.0100.00616.50
7.3.200.0070.01019.39
7.3.190.0190.00316.43
7.3.180.0090.00916.30
7.3.170.0060.01016.43
7.3.160.0040.01116.41
7.3.130.0030.01414.54
7.3.120.0090.00514.85
7.3.110.0090.00914.72
7.3.100.0130.00014.83
7.3.90.0070.00714.41
7.3.80.0070.00715.02
7.3.70.0060.00714.95
7.3.60.0000.01314.45
7.3.50.0030.01215.03
7.3.40.0070.01014.69
7.3.30.0040.00714.81
7.3.20.0060.01316.46
7.3.10.0060.01316.04
7.3.00.0060.00316.38
7.2.330.0140.00316.75
7.2.320.0080.00816.82
7.2.310.0100.00716.87
7.2.300.0070.01016.77
7.2.290.0220.01316.77
7.2.260.0030.01614.77
7.2.250.0000.01415.28
7.2.240.0080.00814.83
7.2.230.0120.00314.75
7.2.220.0060.01015.20
7.2.210.0040.01115.16
7.2.200.0030.01015.05
7.2.190.0090.00914.92
7.2.180.0090.00614.96
7.2.170.0000.01214.94
7.2.160.0000.01114.98
7.2.150.0030.00716.69
7.2.140.0030.01016.92
7.2.130.0060.00316.58
7.2.120.0090.00616.91
7.2.110.0060.00916.89
7.2.100.0070.01016.79
7.2.90.0080.00416.99
7.2.80.0070.01016.83
7.2.70.0000.01816.75
7.2.60.0000.01416.49
7.2.50.0070.00716.75
7.2.40.0040.01116.86
7.2.30.0100.00616.84
7.2.20.0060.00616.53
7.2.10.0000.01416.61
7.2.00.0120.00616.91
7.1.330.0040.01115.88
7.1.320.0030.01015.87
7.1.310.0000.01715.80
7.1.300.0000.01215.69
7.1.290.0110.00315.79
7.1.280.0040.01115.86
7.1.270.0030.01315.81
7.1.260.0090.00615.36
7.1.250.0070.01015.70
7.1.240.0070.00715.86
7.1.230.0030.01015.93
7.1.220.0060.00615.70
7.1.210.0040.00415.59
7.1.200.0080.00315.77
7.1.190.0040.01115.70
7.1.180.0060.00615.86
7.1.170.0060.00615.91
7.1.160.0070.00715.79
7.1.150.0030.00815.62
7.1.140.0070.00715.84
7.1.130.0060.00815.68
7.1.120.0060.00615.88
7.1.110.0060.00315.56
7.1.100.0040.01116.01
7.1.90.0060.00915.90
7.1.80.0090.00615.93
7.1.70.0020.00616.54
7.1.60.0070.01317.63
7.1.50.0080.01016.15
7.1.40.0030.00615.81
7.1.30.0090.00615.70
7.1.20.0070.00715.91
7.1.10.0050.00515.83
7.1.00.0030.04519.13
7.0.330.0070.00715.39
7.0.320.0100.00315.05
7.0.310.0040.00415.12
7.0.300.0070.00415.34
7.0.290.0070.00715.20
7.0.280.0000.00915.36
7.0.270.0050.00315.36
7.0.260.0100.00315.29
7.0.250.0030.01015.29
7.0.240.0000.01415.39
7.0.230.0050.00515.41
7.0.220.0070.00715.44
7.0.210.0130.00015.22
7.0.200.0050.00515.90
7.0.190.0000.01015.41
7.0.180.0070.00415.16
7.0.170.0120.00315.38
7.0.160.0000.01415.36
7.0.150.0000.01115.23
7.0.140.0050.04018.79
7.0.130.0030.01015.64
7.0.120.0030.01315.17
7.0.110.0000.01115.40
7.0.100.0060.00615.37
7.0.90.0070.00715.27
7.0.80.0070.00415.23
7.0.70.0060.00615.28
7.0.60.0070.04017.74
7.0.50.0030.02316.78
7.0.40.0080.04516.73
7.0.30.0200.04316.84
7.0.20.0160.02716.76
7.0.10.0050.04716.80
7.0.00.0060.04016.80
5.6.400.0030.01014.52
5.6.390.0000.01713.95
5.6.380.0000.01614.02
5.6.370.0100.00614.52
5.6.360.0100.00714.07
5.6.350.0070.00714.28
5.6.340.0080.00414.04
5.6.330.0060.00314.83
5.6.320.0050.00513.98
5.6.310.0030.00614.34
5.6.300.0100.00314.35
5.6.290.0100.00713.89
5.6.280.0040.04017.62
5.6.270.0070.00714.08
5.6.260.0070.00314.44
5.6.250.0070.01014.34
5.6.240.0030.01014.45
5.6.230.0070.00714.25
5.6.220.0030.00614.56
5.6.210.0150.03817.36
5.6.200.0090.04516.30
5.6.190.0070.02517.19
5.6.180.0130.04017.46
5.6.170.0180.04117.29
5.6.160.0120.04217.40
5.6.150.0030.03616.29
5.6.140.0050.02716.30
5.6.130.0020.05116.11
5.6.120.0050.03117.80
5.6.110.0050.04817.87
5.6.100.0090.02517.82
5.6.90.0040.03217.61
5.6.80.0060.04117.26
5.6.70.0000.01714.25
5.6.60.0100.00713.93
5.6.50.0030.00914.10
5.6.40.0090.00614.02
5.6.30.0040.00414.14
5.6.20.0070.01014.31
5.6.10.0120.00314.28
5.6.00.0030.00914.28
5.5.380.0040.01114.17
5.5.370.0070.01014.38
5.5.360.0060.00314.25
5.5.350.0130.04317.30
5.5.340.0040.04616.17
5.5.330.0070.03017.34
5.5.320.0080.05017.28
5.5.310.0220.03817.36
5.5.300.0070.02816.29
5.5.290.0020.03616.22
5.5.280.0060.02517.71
5.5.270.0130.03817.59
5.5.260.0070.04217.54
5.5.250.0110.03617.41
5.5.240.0020.04317.13
5.5.230.0040.01113.77
5.5.220.0030.00914.23
5.5.210.0000.01314.11
5.5.200.0080.00613.84
5.5.190.0000.00914.27
5.5.180.0130.00314.18
5.5.170.0030.01214.01
5.5.160.0050.00514.07
5.5.150.0070.00714.13
5.5.140.0000.01414.17
5.5.130.0000.01314.08
5.5.120.0030.01014.17
5.5.110.0030.00714.04
5.5.100.0070.00314.30
5.5.90.0030.00514.31
5.5.80.0060.00914.40
5.5.70.0030.01214.06
5.5.60.0030.00714.29
5.5.50.0000.00914.06
5.5.40.0070.00713.91
5.5.30.0000.01514.19
5.5.20.0140.00014.16
5.5.10.0100.00314.16
5.5.00.0080.00614.18
5.4.450.0430.03515.35
5.4.440.0280.03215.34
5.4.430.0320.04015.26
5.4.420.0630.03315.13
5.4.410.0340.02414.98
5.4.400.0170.02814.80
5.4.390.0180.02514.92
5.4.380.0030.03314.78
5.4.370.0070.02514.79
5.4.360.0050.02514.96
5.4.350.0080.02211.50
5.4.340.0080.02211.47
5.4.330.0060.00910.87
5.4.320.0070.02111.86
5.4.310.0020.02611.62
5.4.300.0030.02511.72
5.4.290.0070.02111.77
5.4.280.0050.02011.62
5.4.270.0070.01911.87
5.4.260.0080.02311.66
5.4.250.0050.02311.73
5.4.240.0050.02111.69
5.4.230.0070.02311.66
5.4.220.0040.02111.86
5.4.210.0050.02011.65
5.4.200.0080.01911.75
5.4.190.0040.02411.70
5.4.180.0080.02011.72
5.4.170.0060.01911.74
5.4.160.0070.01811.78
5.4.150.0040.02211.64
5.4.140.0060.02111.59
5.4.130.0050.01911.46
5.4.120.0070.01711.47
5.4.110.0040.02211.53
5.4.100.0060.01811.48
5.4.90.0050.02011.58
5.4.80.0060.02111.37
5.4.70.0060.01811.60
5.4.60.0050.02211.51
5.4.50.0100.01711.46
5.4.40.0040.02211.46
5.4.30.0030.02111.57
5.4.20.0060.02211.57
5.4.10.0020.02511.57
5.4.00.0070.02011.28
5.3.290.0050.02111.78
5.3.280.0080.01811.54
5.3.270.0060.02211.59
5.3.260.0030.02511.69
5.3.250.0040.02011.70
5.3.240.0060.02511.68
5.3.230.0060.02111.58
5.3.220.0090.02211.60
5.3.210.0030.02511.61
5.3.200.0040.02111.59
5.3.190.0050.02311.65
5.3.180.0050.02311.73
5.3.170.0060.02411.74
5.3.160.0070.02311.68
5.3.150.0070.02311.60
5.3.140.0050.01911.65
5.3.130.0050.02311.69
5.3.120.0050.02311.65
5.3.110.0060.02311.60
5.3.100.0030.02211.36
5.3.90.0040.02211.39
5.3.80.0040.02211.30
5.3.70.0040.01911.30
5.3.60.0040.02211.35
5.3.50.0040.02011.27
5.3.40.0060.02011.25
5.3.30.0020.02411.29
5.3.20.0040.02211.15
5.3.10.0050.02111.05
5.3.00.0020.02311.07
5.2.170.0020.0339.38
5.2.160.0060.0289.38
5.2.150.0050.0349.38
5.2.140.0070.0309.38
5.2.130.0040.0319.34
5.2.120.0030.0309.34
5.2.110.0030.0309.35
5.2.100.0060.0279.34
5.2.90.0050.0289.34
5.2.80.0060.0309.33
5.2.70.0050.0309.32
5.2.60.0060.0349.28
5.2.50.0040.0399.25
5.2.40.0050.0309.23
5.2.30.0040.0349.20
5.2.20.0090.0299.20
5.2.10.0070.0279.12
5.2.00.0050.0298.97
5.1.60.0040.0248.27
5.1.50.0030.0278.26
5.1.40.0040.0258.24
5.1.30.0060.0268.59
5.1.20.0070.0298.60
5.1.10.0050.0298.33
5.1.00.0060.0268.34
5.0.50.0040.0236.82
5.0.40.0070.0246.68
5.0.30.0040.0406.49
5.0.20.0050.0236.46
5.0.10.0030.0226.44
5.0.00.0020.0326.43
4.4.90.0020.0164.78
4.4.80.0030.0144.76
4.4.70.0020.0174.76
4.4.60.0020.0164.75
4.4.50.0030.0154.77
4.4.40.0050.0224.71
4.4.30.0010.0174.76
4.4.20.0050.0134.85
4.4.10.0000.0184.85
4.4.00.0030.0254.76
4.3.110.0040.0144.66
4.3.100.0020.0154.66
4.3.90.0010.0154.64
4.3.80.0040.0234.59
4.3.70.0030.0134.63
4.3.60.0020.0144.63
4.3.50.0030.0154.63
4.3.40.0050.0214.54
4.3.30.0020.0153.28
4.3.20.0020.0163.26
4.3.10.0030.0163.22
4.3.00.0130.0237.15

preferences:
41.97 ms | 401 KiB | 5 Q