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);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: simplexml_load_string(): Entity: line 2: parser error : xmlParseEntityRef: no name in /in/ZasfQ on line 11 Warning: simplexml_load_string(): hite-space:nowrap; vertical-align:top;'>Finish:</td><td>Available in Grey Wash & in /in/ZasfQ on line 11 Warning: simplexml_load_string(): ^ in /in/ZasfQ on line 11 array(0) { } string(864) "<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>"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
63.91 ms | 404 KiB | 8 Q