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) $anotherResult;

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.0080.00817.00
8.3.60.0070.01018.68
8.3.50.0170.00522.16
8.3.40.0040.01119.23
8.3.30.0130.00619.43
8.3.20.0000.00820.89
8.3.10.0060.00320.90
8.3.00.0090.00019.63
8.2.180.0060.00916.75
8.2.170.0110.00422.96
8.2.160.0100.00320.83
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00022.26
8.2.110.0070.00321.63
8.2.100.0060.01018.16
8.2.90.0030.00519.65
8.2.80.0000.00818.13
8.2.70.0060.00317.99
8.2.60.0000.00818.30
8.2.50.0100.00018.07
8.2.40.0080.00018.19
8.2.30.0000.00819.75
8.2.20.0000.00717.99
8.2.10.0060.00318.55
8.2.00.0050.00318.13
8.1.280.0070.01125.92
8.1.270.0000.00822.42
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00322.42
8.1.230.0070.00421.25
8.1.220.0030.00618.16
8.1.210.0000.00818.77
8.1.200.0040.00417.73
8.1.190.0040.00417.60
8.1.180.0030.00518.10
8.1.170.0000.00918.96
8.1.160.0000.00722.32
8.1.150.0000.00819.13
8.1.140.0060.00317.71
8.1.130.0000.00718.21
8.1.120.0000.00717.66
8.1.110.0000.00717.86
8.1.100.0040.00417.62
8.1.90.0000.00717.66
8.1.80.0000.00717.86
8.1.70.0070.00017.86
8.1.60.0000.00818.05
8.1.50.0030.00917.90
8.1.40.0100.00017.94
8.1.30.0030.00517.80
8.1.20.0000.00817.91
8.1.10.0040.00417.79
8.1.00.0000.00717.97
8.0.300.0060.00318.77
8.0.290.0080.00017.25
8.0.280.0000.00818.77
8.0.270.0030.00617.58
8.0.260.0030.00317.55
8.0.250.0070.00017.45
8.0.240.0030.00317.24
8.0.230.0030.00317.33
8.0.220.0030.00317.25
8.0.210.0030.00317.14
8.0.200.0030.00317.34
8.0.190.0040.00417.41
8.0.180.0000.00717.18
8.0.170.0030.00617.16
8.0.160.0040.00417.29
8.0.150.0040.00417.12
8.0.140.0040.00417.19
8.0.130.0000.00613.59
8.0.120.0040.00417.30
8.0.110.0040.00417.32
8.0.100.0080.00017.14
8.0.90.0040.00417.12
8.0.80.0140.00717.28
8.0.70.0080.00017.19
8.0.60.0000.00717.28
8.0.50.0000.00817.24
8.0.30.0170.00917.45
8.0.20.0130.01017.61
8.0.10.0050.00217.60
8.0.00.0110.01217.00
7.4.330.0020.00215.40
7.4.320.0000.00616.88
7.4.300.0000.00616.88
7.4.290.0070.00016.80
7.4.280.0040.00716.89
7.4.270.0000.00716.81
7.4.260.0000.00716.97
7.4.250.0080.00016.96
7.4.240.0020.00616.93
7.4.230.0000.00716.79
7.4.220.0140.00417.03
7.4.210.0040.01016.92
7.4.200.0030.00517.11
7.4.160.0090.00616.88
7.4.150.0070.01117.40
7.4.140.0100.01217.86
7.4.130.0090.01016.99
7.4.120.0070.01016.90
7.4.110.0100.01416.97
7.4.100.0060.01716.76
7.4.90.0120.00616.92
7.4.80.0060.01218.80
7.4.70.0070.01016.91
7.4.60.0060.01216.83
7.4.50.0030.00516.58
7.4.40.0120.00417.16
7.4.30.0060.01216.78
7.4.00.0120.00614.93
7.3.330.0070.00013.63
7.3.320.0050.00013.38
7.3.310.0040.00416.79
7.3.300.0040.00216.64
7.3.290.0080.01016.74
7.3.280.0100.00616.75
7.3.270.0120.00617.40
7.3.260.0100.00716.94
7.3.250.0130.00716.86
7.3.240.0120.00916.80
7.3.230.0190.00316.74
7.3.210.0030.02316.83
7.3.200.0140.00416.86
7.3.190.0030.01416.77
7.3.180.0160.00616.64
7.3.170.0070.01416.91
7.3.160.0100.00616.82
7.3.10.0060.00616.89
7.3.00.0110.00316.78
7.2.330.0040.01416.99
7.2.320.0100.00717.07
7.2.310.0030.01416.75
7.2.300.0060.01116.89
7.2.290.0030.01316.92
7.2.130.0040.01116.88
7.2.120.0000.01417.18
7.2.110.0030.00716.91
7.2.100.0060.00917.09
7.2.90.0030.01017.02
7.2.80.0040.01116.92
7.2.70.0060.00917.09
7.2.60.0000.01517.04
7.2.50.0080.00516.97
7.2.40.0060.00617.13
7.2.30.0070.00717.02
7.2.20.0090.00616.85
7.2.10.0090.00616.86
7.2.00.0070.00718.25
7.1.250.0040.00815.86
7.1.100.0060.00618.35
7.1.70.0060.00917.33
7.1.60.0090.00919.32
7.1.50.0040.01117.01
7.1.00.0070.07022.65
7.0.200.0080.00317.13
7.0.140.0000.07022.10
7.0.60.0200.07320.22
7.0.50.0030.06717.99
7.0.40.0100.04020.12
7.0.30.0300.07020.39
7.0.20.0370.04720.23
7.0.10.0170.05320.31
7.0.00.0000.09020.21
5.6.280.0070.07021.31
5.6.210.0170.07720.84
5.6.200.0030.04718.30
5.6.190.0030.08720.81
5.6.180.0400.07720.62
5.6.170.0370.07320.76
5.6.160.0000.07720.66
5.6.150.0070.08018.38
5.6.140.0130.07318.42
5.6.130.0100.08318.38
5.6.120.0030.04321.19
5.6.110.0030.04321.26
5.6.100.0070.08321.29
5.6.90.0100.07721.26
5.6.80.0030.04020.59
5.5.350.0170.08020.58
5.5.340.0070.04018.11
5.5.330.0030.04320.57
5.5.320.0430.06320.39
5.5.310.0200.05320.38
5.5.300.0070.03718.19
5.5.290.0030.04318.18
5.5.280.0100.08021.13
5.5.270.0070.04320.89
5.5.260.0130.05720.98
5.5.250.0000.08720.82
5.5.240.0100.06720.47
5.4.450.0570.04319.78
5.4.440.0970.06319.55
5.4.430.0970.06319.71
5.4.420.0630.00019.77
5.4.410.0670.00019.45
5.4.400.0670.00019.18
5.4.390.0630.00019.48
5.4.380.0430.06018.93
5.4.370.0370.05018.96
5.4.360.0330.05318.68
5.4.350.0270.06018.91
5.4.340.0400.05018.89
5.4.320.0060.03712.70
5.4.310.0050.03812.70
5.4.300.0080.03412.70
5.4.290.0080.04412.70
5.4.280.0080.03712.60
5.4.270.0060.03712.59
5.4.260.0060.03812.60
5.4.250.0050.03812.60
5.4.240.0060.03612.59
5.4.230.0040.04012.59
5.4.220.0110.03112.59
5.4.210.0050.04212.59
5.4.200.0070.03612.59
5.4.190.0050.03612.58
5.4.180.0050.03912.58
5.4.170.0080.03612.60
5.4.160.0060.03712.60
5.4.150.0080.03912.59
5.4.140.0040.03812.27
5.4.130.0080.03912.27
5.4.120.0050.03512.22
5.4.110.0040.04312.22
5.4.100.0110.03512.22
5.4.90.0070.04412.22
5.4.80.0050.03612.21
5.4.70.0050.03412.21
5.4.60.0050.03412.21
5.4.50.0060.03512.20
5.4.40.0030.03612.20
5.4.30.0080.03812.18
5.4.20.0040.03712.19
5.4.10.0050.03512.20
5.4.00.0090.03311.68
5.3.290.0080.03912.97
5.3.280.0060.03712.90
5.3.270.0070.03812.91
5.3.260.0040.04212.91
5.3.250.0050.03712.91
5.3.240.0070.03812.91
5.3.230.0060.04012.90
5.3.220.0030.03912.87
5.3.210.0080.04512.87
5.3.200.0100.03212.87
5.3.190.0030.04012.87
5.3.180.0110.03112.87
5.3.170.0060.03612.86
5.3.160.0060.03812.87
5.3.150.0070.04412.87
5.3.140.0040.03712.86
5.3.130.0090.03612.86
5.3.120.0100.04212.85
5.3.110.0040.04012.85
5.3.100.0040.03812.34
5.3.90.0080.03912.32
5.3.80.0060.03712.31
5.3.70.0030.03912.30
5.3.60.0040.03712.30
5.3.50.0050.03512.24
5.3.40.0030.03712.24
5.3.30.0020.03712.20
5.3.20.0050.03511.98
5.3.10.0050.03511.95
5.3.00.0050.03611.93
5.2.170.0060.0299.44
5.2.160.0040.0319.44
5.2.150.0040.0329.43
5.2.140.0030.0369.43
5.2.130.0080.0279.39
5.2.120.0060.0319.39
5.2.110.0070.0319.40
5.2.100.0040.0349.39
5.2.90.0060.0289.39
5.2.80.0090.0299.38
5.2.70.0040.0389.39
5.2.60.0050.0319.34
5.2.50.0070.0269.31
5.2.40.0040.0329.29
5.2.30.0030.0319.26
5.2.20.0050.0349.28
5.2.10.0020.0319.20
5.2.00.0070.0289.06
5.1.60.0040.0278.35
5.1.50.0040.0248.34
5.1.40.0030.0258.32
5.1.30.0060.0358.68
5.1.20.0060.0258.69
5.1.10.0070.0308.41
5.1.00.0070.0258.41
5.0.50.0050.0246.89
5.0.40.0010.0226.75
5.0.30.0040.0316.56
5.0.20.0070.0206.54
5.0.10.0030.0266.51
5.0.00.0020.0356.51
4.4.90.0050.0154.78
4.4.80.0020.0174.76
4.4.70.0030.0154.75
4.4.60.0030.0154.75
4.4.50.0020.0164.77
4.4.40.0030.0284.71
4.4.30.0010.0184.76
4.4.20.0060.0174.85
4.4.10.0040.0234.85
4.4.00.0020.0264.76
4.3.110.0020.0164.67
4.3.100.0030.0154.67
4.3.90.0010.0164.64
4.3.80.0020.0264.59
4.3.70.0020.0174.63
4.3.60.0070.0104.63
4.3.50.0010.0204.63
4.3.40.0020.0244.54
4.3.30.0010.0193.31
4.3.20.0020.0153.29
4.3.10.0010.0273.23
4.3.00.0070.01716.39

preferences:
35.45 ms | 401 KiB | 5 Q