mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
0ff59a1353
Added test case for the bug.
11 lines
194 B
PHP
11 lines
194 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) ""
|