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

11 lines
196 B
Plaintext
Raw Normal View History

--TEST--
Bug #20934 (html_entity_decode() crash when "" is passed)
--FILE--
<?php
var_dump(html_entity_decode(NULL));
var_dump(html_entity_decode(""));
?>
--EXPECT--
2006-11-09 01:16:48 +00:00
unicode(0) ""
unicode(0) ""