summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug21338.phpt
blob: 3b7a538443ef2fa739e480d3822eb8692c1d366e (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #20934 (html_entity_decode() crash when "" is passed)
--FILE--
<?php
	var_dump(html_entity_decode(NULL));
	var_dump(html_entity_decode(""));
?>
--EXPECT--
unicode(0) ""
unicode(0) ""