3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $orig = "Congratulations on your employment with &amp;lt;centername&amp;gt; &amp;lt;br/&amp;gt;What: We have a contract available for your signature! &amp;lt;br/&amp;gt; Where: Please click the following link to access the Terms2020 Employee Online system and follow the steps to sign your contract electronically! &amp;lt;br/&amp;gt; &amp;lt;link&amp;gt; &amp;lt;br/&amp;gt; Support: If you have any questions regarding the contract signing process, please do not hesitate to contact &amp;lt;name&amp;gt; at &amp;lt;emailaddress&amp;gt;. &amp;lt;br/&amp;gt; NOTE: Please do not reply to this email as it is generated from an unattended mailbox. &amp;lt;br/&amp;gt; &amp;lt;empid&amp;gt;"; $a = htmlentities($orig); $b = html_entity_decode($a); echo $a; // I'll &quot;walk&quot; the &lt;b&gt;dog&lt;/b&gt; now echo "\n"; echo $b; // I'll "walk" the <b>dog</b> now
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Congratulations on your employment with &amp;amp;lt;centername&amp;amp;gt; &amp;amp;lt;br/&amp;amp;gt;What: We have a contract available for your signature! &amp;amp;lt;br/&amp;amp;gt; Where: Please click the following link to access the Terms2020 Employee Online system and follow the steps to sign your contract electronically! &amp;amp;lt;br/&amp;amp;gt; &amp;amp;lt;link&amp;amp;gt; &amp;amp;lt;br/&amp;amp;gt; Support: If you have any questions regarding the contract signing process, please do not hesitate to contact &amp;amp;lt;name&amp;amp;gt; at &amp;amp;lt;emailaddress&amp;amp;gt;. &amp;amp;lt;br/&amp;amp;gt; NOTE: Please do not reply to this email as it is generated from an unattended mailbox. &amp;amp;lt;br/&amp;amp;gt; &amp;amp;lt;empid&amp;amp;gt; Congratulations on your employment with &amp;lt;centername&amp;gt; &amp;lt;br/&amp;gt;What: We have a contract available for your signature! &amp;lt;br/&amp;gt; Where: Please click the following link to access the Terms2020 Employee Online system and follow the steps to sign your contract electronically! &amp;lt;br/&amp;gt; &amp;lt;link&amp;gt; &amp;lt;br/&amp;gt; Support: If you have any questions regarding the contract signing process, please do not hesitate to contact &amp;lt;name&amp;gt; at &amp;lt;emailaddress&amp;gt;. &amp;lt;br/&amp;gt; NOTE: Please do not reply to this email as it is generated from an unattended mailbox. &amp;lt;br/&amp;gt; &amp;lt;empid&amp;gt;
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/SF0ce on line 17
Process exited with code 255.