3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version='1.0'?> <always> <be>&lt;![CDATA[Document Checklist: Use this checklist to make sure all your documents are complete &amp; ready to go! There are a few things that we need that are often overlooked. * Please verify that your name spelling, middle initial and property address all match the information you submitted to the IRS exactly. * If you've filed taxes under different addresses for one or both of the last two years, please complete line 4 of the form. * Please provide a written signature, we cannot accept electronic signatures on this document. ]]&gt;</be> </always> XML; $sml = new SimpleXMLElement ($xml); $result = $sml->xpath('/always/be'); $newResult = (string) array_pop($result); $anotherResult = html_entity_decode($newResult, ENT_XML1, 'UTF-8'); echo (string) $aotherResult;

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.81
8.3.50.0100.01222.20
8.3.40.0090.00619.05
8.3.30.0170.00319.48
8.3.20.0000.00820.57
8.3.10.0030.00620.90
8.3.00.0050.00319.50
8.2.180.0060.00917.00
8.2.170.0180.00422.96
8.2.160.0110.00420.86
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00722.57
8.2.110.0090.00019.68
8.2.100.0070.00418.09
8.2.90.0060.00319.61
8.2.80.0080.00018.11
8.2.70.0000.00818.00
8.2.60.0000.00918.18
8.2.50.0050.00318.10
8.2.40.0030.00518.41
8.2.30.0050.00319.72
8.2.20.0000.00818.12
8.2.10.0040.00418.47
8.2.00.0040.00418.06
8.1.280.0090.01225.92
8.1.270.0030.00522.43
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0000.00924.30
8.1.230.0090.00318.21
8.1.220.0080.00018.03
8.1.210.0000.00818.77
8.1.200.0000.01017.47
8.1.190.0080.00017.48
8.1.180.0060.00318.10
8.1.170.0050.00318.94
8.1.160.0060.00322.48
8.1.150.0040.00419.25
8.1.140.0040.00417.82
8.1.130.0000.00718.21
8.1.120.0000.00717.81
8.1.110.0040.00417.73
8.1.100.0040.00417.66
8.1.90.0000.00717.79
8.1.80.0040.00417.82
8.1.70.0070.00017.77
8.1.60.0060.00318.00
8.1.50.0100.00017.90
8.1.40.0030.00717.89
8.1.30.0030.00517.85
8.1.20.0000.00817.86
8.1.10.0040.00417.93
8.1.00.0000.00817.93
8.0.300.0040.00418.77
8.0.290.0070.00017.13
8.0.280.0070.00018.87
8.0.270.0100.00017.69
8.0.260.0000.00617.68
8.0.250.0000.00717.39
8.0.240.0070.00017.16
8.0.230.0000.00717.33
8.0.220.0000.00717.14
8.0.210.0030.00517.11
8.0.200.0000.00617.22
8.0.190.0000.00717.38
8.0.180.0000.00717.22
8.0.170.0040.00417.31
8.0.160.0040.00417.26
8.0.150.0100.00017.08
8.0.140.0050.00517.11
8.0.130.0060.00013.69
8.0.120.0000.00817.09
8.0.110.0040.00417.33
8.0.100.0050.00217.19
8.0.90.0050.00217.21
8.0.80.0070.00717.24
8.0.70.0080.00017.32
8.0.60.0070.00017.26
8.0.50.0030.00617.07
8.0.30.0080.01217.49
8.0.20.0090.01017.57
8.0.10.0050.00217.37
8.0.00.0100.01017.22
7.4.330.0000.00515.56
7.4.320.0040.00416.77
7.4.300.0030.00317.01
7.4.290.0040.00416.94
7.4.280.0030.00716.75
7.4.270.0070.00016.91
7.4.260.0000.00717.01
7.4.250.0050.00316.88
7.4.240.0000.00716.83
7.4.230.0030.00316.82
7.4.220.0120.00917.13
7.4.210.0090.00617.05
7.4.200.0000.00717.04
7.4.160.0030.01316.86
7.4.150.0060.01317.40
7.4.140.0050.01617.86
7.4.130.0120.00616.88
7.4.120.0090.01017.02
7.4.110.0130.00317.04
7.4.100.0070.01016.75
7.4.90.0090.00916.89
7.4.80.0110.00618.80
7.4.70.0030.01417.15
7.4.60.0040.01416.98
7.4.50.0050.00316.95
7.4.40.0030.01317.16
7.4.30.0070.01016.80
7.4.00.0100.00715.23
7.3.330.0070.00213.56
7.3.320.0020.00213.44
7.3.310.0040.00416.84
7.3.300.0030.00316.76
7.3.290.0090.00316.71
7.3.280.0060.01016.73
7.3.270.0100.01017.40
7.3.260.0070.01416.79
7.3.250.0100.00816.72
7.3.240.0150.00616.81
7.3.230.0100.00716.89
7.3.210.0040.01416.69
7.3.200.0070.01019.39
7.3.190.0110.00716.70
7.3.180.0100.01316.86
7.3.170.0140.00316.87
7.3.160.0060.01416.87
7.3.120.0030.01614.85
7.3.110.0070.01115.03
7.3.100.0060.00915.31
7.3.90.0030.01314.90
7.3.80.0090.00615.08
7.3.70.0030.01415.06
7.3.60.0000.01114.92
7.3.50.0030.01014.76
7.3.40.0070.00714.99
7.3.30.0000.01615.04
7.3.20.0070.00716.84
7.3.10.0030.01016.91
7.3.00.0060.00616.61
7.2.330.0030.01417.00
7.2.320.0090.00916.95
7.2.310.0030.01316.89
7.2.300.0060.01016.83
7.2.290.0080.00816.90
7.2.250.0090.00615.21
7.2.240.0000.02115.30
7.2.230.0000.01514.97
7.2.220.0080.00815.03
7.2.210.0040.01215.30
7.2.200.0040.01115.09
7.2.190.0000.00914.99
7.2.180.0030.01314.91
7.2.170.0100.00315.07
7.2.00.0090.00619.16
7.1.330.0040.01115.90
7.1.320.0040.01215.77
7.1.310.0000.01115.84
7.1.300.0030.00715.72
7.1.290.0070.01015.96
7.1.280.0060.00616.04
7.1.270.0030.00915.71
7.1.260.0060.00315.88
7.1.100.0030.00718.18
7.1.70.0050.00317.46
7.1.60.0070.01719.32
7.1.50.0100.00717.09
7.1.00.0000.08022.62
7.0.200.0000.01116.75
7.0.140.0030.07322.25
7.0.60.0070.06320.21
7.0.50.0070.08318.04
7.0.40.0030.04320.19
7.0.30.0230.04020.39
7.0.20.0270.08320.39
7.0.10.0300.04720.41
7.0.00.0100.08720.37
5.6.280.0070.07321.23
5.6.210.0100.06720.91
5.6.200.0100.08318.32
5.6.190.0170.04720.50
5.6.180.0200.04720.60
5.6.170.0270.04020.58
5.6.160.0100.07720.77
5.6.150.0070.08318.42
5.6.140.0000.04018.38
5.6.130.0230.06718.30
5.6.120.0030.06721.25
5.6.110.0070.07321.16
5.6.100.0170.07721.14
5.6.90.0070.06321.23
5.6.80.0030.04020.63
5.5.350.0100.06320.62
5.5.340.0030.04318.13
5.5.330.0070.05320.61
5.5.320.0500.07020.47
5.5.310.0200.03720.58
5.5.300.0000.04318.17
5.5.290.0070.04318.16
5.5.280.0030.05021.00
5.5.270.0130.03320.94
5.5.260.0100.03721.01
5.5.250.0070.06720.72
5.5.240.2400.03320.33
5.4.450.0870.03719.72
5.4.440.0630.06719.54
5.4.430.0830.05719.74
5.4.420.0700.00019.53
5.4.410.0630.00019.63
5.4.400.0630.00019.23
5.4.390.0630.00019.37
5.4.380.0300.05718.80
5.4.370.0470.05018.89
5.4.360.0400.04018.73
5.4.350.0370.05018.81
5.4.340.0570.05018.89
5.4.320.0030.03812.70
5.4.310.0060.03612.70
5.4.300.0090.04012.70
5.4.290.0060.03712.70
5.4.280.0040.03712.60
5.4.270.0060.03612.60
5.4.260.0060.03812.59
5.4.250.0060.03812.59
5.4.240.0060.03612.59
5.4.230.0030.04012.59
5.4.220.0080.04212.59
5.4.210.0040.03612.59
5.4.200.0060.03612.59
5.4.190.0090.03312.59
5.4.180.0040.03712.58
5.4.170.0070.03512.59
5.4.160.0040.03712.59
5.4.150.0070.03512.59
5.4.140.0060.04012.28
5.4.130.0050.03612.26
5.4.120.0080.04012.22
5.4.110.0090.03812.21
5.4.100.0050.03912.22
5.4.90.0080.03512.21
5.4.80.0050.04112.22
5.4.70.0100.03412.21
5.4.60.0050.03812.21
5.4.50.0080.03912.21
5.4.40.0090.03712.20
5.4.30.0080.03712.20
5.4.20.0040.03512.18
5.4.10.0040.03512.19
5.4.00.0040.04711.68
5.3.290.0050.04612.97
5.3.280.0070.03912.89
5.3.270.0070.04012.91
5.3.260.0040.04112.91
5.3.250.0030.04012.91
5.3.240.0080.03512.91
5.3.230.0110.03412.90
5.3.220.0090.03612.87
5.3.210.0060.03912.87
5.3.200.0060.03612.86
5.3.190.0030.03912.87
5.3.180.0080.03412.86
5.3.170.0060.04012.86
5.3.160.0040.03912.86
5.3.150.0080.03912.86
5.3.140.0060.03712.86
5.3.130.0030.04112.86
5.3.120.0050.03812.86
5.3.110.0090.04112.85
5.3.100.0070.04412.34
5.3.90.0060.03512.32
5.3.80.0070.03412.30
5.3.70.0080.03712.30
5.3.60.0080.03612.30
5.3.50.0030.03712.25
5.3.40.0090.04812.24
5.3.30.0040.03812.20
5.3.20.0060.03711.98
5.3.10.0070.03411.95
5.3.00.0040.03811.93
5.2.170.0050.0309.44
5.2.160.0060.0349.44
5.2.150.0050.0299.44
5.2.140.0040.0359.43
5.2.130.0050.0299.39
5.2.120.0060.0279.39
5.2.110.0050.0289.40
5.2.100.0040.0289.39
5.2.90.0060.0289.40
5.2.80.0040.0319.38
5.2.70.0070.0289.39
5.2.60.0050.0299.34
5.2.50.0070.0409.31
5.2.40.0070.0279.29
5.2.30.0050.0369.26
5.2.20.0020.0319.28
5.2.10.0060.0289.20
5.2.00.0040.0309.06
5.1.60.0030.0248.35
5.1.50.0030.0258.34
5.1.40.0050.0238.32
5.1.30.0040.0278.68
5.1.20.0050.0258.70
5.1.10.0010.0308.41
5.1.00.0030.0268.40
5.0.50.0040.0226.89
5.0.40.0030.0256.74
5.0.30.0010.0376.56
5.0.20.0060.0166.53
5.0.10.0020.0226.51
5.0.00.0030.0316.51
4.4.90.0030.0154.78
4.4.80.0020.0164.75
4.4.70.0030.0154.76
4.4.60.0030.0154.76
4.4.50.0030.0164.77
4.4.40.0020.0294.71
4.4.30.0030.0174.76
4.4.20.0040.0144.84
4.4.10.0040.0154.85
4.4.00.0030.0304.76
4.3.110.0040.0204.67
4.3.100.0020.0244.66
4.3.90.0040.0124.63
4.3.80.0060.0304.58
4.3.70.0010.0244.63
4.3.60.0050.0184.63
4.3.50.0040.0184.63
4.3.40.0030.0244.54
4.3.30.0040.0203.31
4.3.20.0020.0213.29
4.3.10.0030.0143.23
4.3.00.0000.02316.39

preferences:
46.18 ms | 401 KiB | 5 Q