Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #20934 (html_entity_decode() crash when "" is passed) --FILE-- <?php var_dump..
Decoded Output download
--TEST--
Bug #20934 (html_entity_decode() crash when "" is passed)
--FILE--
<?php
var_dump(html_entity_decode(""));
?>
--EXPECT--
string(0) ""
Did this file decode correctly?
Original Code
--TEST--
Bug #20934 (html_entity_decode() crash when "" is passed)
--FILE--
<?php
var_dump(html_entity_decode(""));
?>
--EXPECT--
string(0) ""
Function Calls
var_dump | 1 |
html_entity_decode | 1 |
Stats
MD5 | 9705ac2a62b1deaae7d071fa1f8ca149 |
Eval Count | 0 |
Decode Time | 116 ms |