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_encode($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
Fatal error: Uncaught Error: Call to undefined function html_entity_encode() in /in/O8WuM:9 Stack trace: #0 {main} thrown in /in/O8WuM on line 9
Process exited with code 255.

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:
55.45 ms | 401 KiB | 8 Q