php-8.0.30-src/ext/standard/tests/strings/bug21338.phpt

11 lines
200 B
PHP

--TEST--
Bug #20934 (html_entity_decode() crash when "" is passed)
--FILE--
<?php
var_dump(html_entity_decode(NULL));
var_dump(html_entity_decode(""));
?>
--EXPECT--
string(0) ""
string(0) ""