3v4l.org

run code in 300+ PHP versions simultaneously
<?php $description = "<table border='0' cellspacing='0' cellpadding='0'><tr><td style='padding-right:3px; white-space:nowrap; vertical-align:top;'>Material:</td><td>Solid Ash frame. Composite panels. </td></tr><tr><td style='padding-right:3px; white-space:nowrap; vertical-align:top;'>Finish:</td><td>Available in Grey Wash & White Wash </td></tr><tr><td style='padding-right:3px; white-space:nowrap; vertical-align:top;'>Dimensions:</td><td>H 57cm x W 42cm x D 40cm </td></tr><tr><td style='padding-right:3px; white-space:nowrap; vertical-align:top;'>Features:</td><td>Drawer and lower shelf </td></tr><tr><td style='padding-right:3px; white-space:nowrap; vertical-align:top;'>Assembly:</td><td>Self assembly - assembly service available at additional cost </td></tr><tr><td style='padding-right:3px; white-space:nowrap; vertical-align:top;'>ASPACE Exclusive</td><td></td></tr></table>"; $s = html_entity_decode($description, ENT_COMPAT, 'UTF-8'); simplexml_load_string('<validation>' . $description . '</validation>'); var_dump(libxml_get_errors(), $s);

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.0090.00616.88
8.3.50.0100.01022.09
8.3.40.0110.00418.83
8.3.30.0040.01119.09
8.3.20.0080.00020.46
8.3.10.0040.00423.91
8.3.00.0040.00419.51
8.2.180.0160.00316.73
8.2.170.0070.00722.96
8.2.160.0110.00420.60
8.2.150.0050.00324.18
8.2.140.0050.00224.66
8.2.130.0080.00026.16
8.2.120.0100.00017.75
8.2.110.0030.00922.27
8.2.100.0040.00818.18
8.2.90.0040.00419.47
8.2.80.0040.00417.97
8.2.70.0030.00517.75
8.2.60.0040.00418.03
8.2.50.0030.00518.07
8.2.40.0000.00719.64
8.2.30.0000.00820.84
8.2.20.0060.00317.87
8.2.10.0000.00818.37
8.2.00.0050.00318.44
8.1.280.0170.00325.92
8.1.270.0080.00024.07
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0070.00322.82
8.1.230.0120.00018.04
8.1.220.0030.00517.91
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0080.00017.36
8.1.180.0040.00418.10
8.1.170.0070.00019.13
8.1.160.0040.00422.31
8.1.150.0050.00219.23
8.1.140.0040.00419.98
8.1.130.0000.00717.96
8.1.120.0000.00817.60
8.1.110.0040.00417.77
8.1.100.0050.00317.76
8.1.90.0000.00717.59
8.1.80.0040.00417.52
8.1.70.0040.00417.57
8.1.60.0030.00517.90
8.1.50.0030.00617.73
8.1.40.0000.00817.84
8.1.30.0060.00317.71
8.1.20.0030.00617.92
8.1.10.0040.00417.65
8.1.00.0000.00717.74
8.0.300.0070.00018.77
8.0.290.0000.00717.13
8.0.280.0000.00718.64
8.0.270.0030.00317.42
8.0.260.0030.00317.46
8.0.250.0040.00417.14
8.0.240.0030.00617.30
8.0.230.0030.00617.07
8.0.220.0030.00317.22
8.0.210.0000.00817.03
8.0.200.0000.00717.12
8.0.190.0050.00217.15
8.0.180.0060.00317.27
8.0.170.0000.00817.06
8.0.160.0040.00417.26
8.0.150.0000.00717.14
8.0.140.0000.00817.13
8.0.130.0000.00513.63
8.0.120.0040.00417.27
8.0.110.0050.00217.28
8.0.100.0040.00417.05
8.0.90.0050.00517.13
8.0.80.0000.01817.15
8.0.70.0040.00417.25
8.0.60.0000.00717.13
8.0.50.0040.00416.95
8.0.30.0100.00817.20
8.0.20.0090.00917.40
8.0.10.0040.00417.13
8.0.00.0090.01116.90
7.4.330.0030.00315.29
7.4.320.0030.00316.70
7.4.300.0000.00716.71
7.4.290.0030.00316.67
7.4.280.0040.00416.59
7.4.270.0030.00316.59
7.4.260.0030.00616.70
7.4.250.0040.00416.75
7.4.240.0060.00216.69
7.4.230.0000.00716.64
7.4.220.0120.00616.75
7.4.210.0070.01416.80
7.4.200.0030.00516.64
7.4.160.0080.00816.75
7.4.150.0070.01017.40
7.4.140.0150.00917.86
7.4.130.0150.00716.68
7.4.120.0070.01216.81
7.4.110.0100.01316.79
7.4.100.0110.00716.64
7.4.90.0100.01016.67
7.4.80.0110.00619.39
7.4.70.0100.00716.64
7.4.60.0160.00616.75
7.4.50.0030.00616.79
7.4.40.0140.00316.74
7.4.30.0090.01216.69
7.4.00.0030.01515.01
7.3.330.0050.00013.38
7.3.320.0000.00513.51
7.3.310.0000.00716.67
7.3.300.0070.00016.53
7.3.290.0070.00716.59
7.3.280.0090.01016.58
7.3.270.0100.00717.40
7.3.260.0070.01016.61
7.3.240.0180.00016.63
7.3.230.0100.00716.77
7.3.210.0110.00716.66
7.3.200.0090.01116.91
7.3.190.0100.00716.65
7.3.180.0150.00916.89
7.3.170.0140.00516.56
7.3.160.0110.01116.55
7.3.120.0030.01414.66
7.3.110.0080.00914.98
7.3.100.0040.01114.85
7.3.90.0030.01014.92
7.3.80.0060.00615.03
7.3.70.0030.00614.90
7.3.60.0030.00614.86
7.3.50.0040.00715.03
7.3.40.0000.00814.88
7.3.30.0040.00815.02
7.3.20.0030.00716.92
7.3.10.0090.00516.48
7.3.00.0110.00516.58
7.2.330.0090.00916.82
7.2.320.0130.01216.43
7.2.310.0150.00416.80
7.2.300.0070.01016.56
7.2.290.0120.01716.89
7.2.250.0040.01515.09
7.2.240.0100.00915.23
7.2.230.0100.00314.98
7.2.220.0120.00415.33
7.2.210.0030.00715.05
7.2.200.0030.01415.18
7.2.190.0110.00415.00
7.2.180.0000.01415.14
7.2.170.0080.00315.16
7.2.130.0180.00616.59
7.2.120.0120.00416.86
7.2.110.0050.01116.59
7.2.100.0060.01116.42
7.2.90.0100.00916.89
7.2.80.0070.01016.83
7.2.70.0190.00616.86
7.2.60.0110.00616.60
7.2.50.0060.00816.82
7.2.40.0030.01216.93
7.2.30.0150.00516.80
7.2.20.0120.00816.73
7.2.10.0040.00916.99
7.2.00.0050.00817.80
7.1.330.0110.00615.99
7.1.320.0000.01015.95
7.1.310.0070.00315.80
7.1.300.0040.01116.05
7.1.290.0120.00316.05
7.1.280.0040.00415.88
7.1.270.0000.01315.73
7.1.260.0120.00415.90
7.1.250.0120.00315.66
7.1.100.0040.00718.11
7.1.70.0120.00017.36
7.1.60.0100.01319.43
7.1.50.0070.01517.18
7.1.00.0100.07022.49
7.0.200.0990.00314.74
7.0.60.0170.07320.14
7.0.50.0030.08717.96
7.0.40.0070.04020.38
7.0.30.0200.04720.32
7.0.20.0370.07720.41
7.0.10.0100.08320.21
7.0.00.0070.07020.40
5.6.280.0030.05721.16
5.6.210.0070.06020.90
5.6.200.0000.08018.41
5.6.190.0100.06320.83
5.6.180.0270.07720.49
5.6.170.0200.07720.53
5.6.160.0100.07720.69
5.6.150.0030.08318.29
5.6.140.0030.04018.22
5.6.130.0100.06718.24
5.6.120.0100.05021.04
5.6.110.0070.06321.20
5.6.100.0100.08321.18
5.6.90.0100.06321.02
5.6.80.0130.07320.59
5.5.350.0270.03720.54
5.5.340.0030.08018.15
5.5.330.0100.08320.57
5.5.320.0130.04720.36
5.5.310.0230.08020.40
5.5.300.0030.06018.04
5.5.290.0070.08018.03
5.5.280.0100.08020.91
5.5.270.0030.04020.92
5.5.260.0070.08020.75
5.5.250.0170.07320.74
5.5.240.0100.07020.33
5.4.450.0400.07019.55
5.4.440.0270.06719.66
5.4.430.0300.05319.67
5.4.420.0200.05019.51
5.4.410.0130.06319.34
5.4.400.0200.05719.00
5.4.390.0270.05019.19
5.4.380.0270.04319.32
5.4.370.0330.04719.16
5.4.360.0130.06019.08
5.4.350.0270.04019.13
5.4.340.0100.06019.08
5.4.320.0170.05319.02
5.4.310.0130.05319.19
5.4.300.0230.04319.35
5.4.290.0200.04719.04
5.4.280.0170.05719.30
5.4.270.0230.04319.21
5.4.260.0230.04319.30
5.4.250.0170.05319.34
5.4.240.0270.05319.31
5.4.230.0200.06019.08
5.4.220.0170.05319.19
5.4.210.0370.04319.32
5.4.200.0100.06019.34
5.4.190.0230.04319.32
5.4.180.0100.05719.34
5.4.170.0170.05719.34
5.4.160.0230.06319.06
5.4.150.0100.06319.07
5.4.140.0170.05016.47
5.4.130.0230.04716.63
5.4.120.0170.05316.61
5.4.110.0230.06016.68
5.4.100.0230.06316.69
5.4.90.0170.06016.74
5.4.80.0170.07316.64
5.4.70.0370.06016.59
5.4.60.0170.06016.52
5.4.50.0170.04316.58
5.4.40.0070.06016.66
5.4.30.0230.04716.68
5.4.20.0330.04316.65
5.4.10.0100.05716.71
5.4.00.0100.05715.93

preferences:
44.33 ms | 401 KiB | 5 Q