3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_content = mb_decode_numericentity( str_replace( array('&#60;', '&#62;', '&#34;'), array('&lt;', '&gt;', '&quot;'), preg_replace_callback( '/&#\Kx([0-9a-f]++)(?=;)/i', function ($matches) { return hexdec($matches[1]); }, $_content ) ), array(0x0021, 0x007E, 0x0000, 0xFFFF), INT_ENC );
Output for 7.0.0 - 7.1.0
Notice: Undefined variable: _content in /in/J9GJt on line 10 Notice: Use of undefined constant INT_ENC - assumed 'INT_ENC' in /in/J9GJt on line 15 Warning: mb_decode_numericentity(): Unknown encoding "INT_ENC" in /in/J9GJt on line 15
Output for 5.5.0 - 5.6.28
Notice: Undefined variable: _content in /in/J9GJt on line 12 Notice: Use of undefined constant INT_ENC - assumed 'INT_ENC' in /in/J9GJt on line 16 Warning: mb_decode_numericentity(): Unknown encoding "INT_ENC" in /in/J9GJt on line 16
Output for 5.3.0 - 5.4.45
Warning: mb_decode_numericentity(): Unknown encoding "INT_ENC" in /in/J9GJt on line 16
Output for 5.2.3 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION in /in/J9GJt on line 8
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.2
<br /> <b>Parse error</b>: syntax error, unexpected T_FUNCTION in <b>/in/J9GJt</b> on line <b>8</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
<br /> <b>Parse error</b>: parse error, unexpected T_FUNCTION in <b>/in/J9GJt</b> on line <b>8</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.4
<br /> <b>Parse error</b>: parse error in <b>/in/J9GJt</b> on line <b>8</b><br />
Process exited with code 255.