mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
14 lines
234 B
PHP
14 lines
234 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) ""
|
|
--UEXPECT--
|
|
unicode(0) ""
|
|
unicode(0) ""
|