3v4l.org

run code in 300+ PHP versions simultaneously
<?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 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.1 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
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 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 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.

preferences:
254.59 ms | 401 KiB | 369 Q