3v4l.org

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

Process exited with code 139.