]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
authorSVN Migration <svn@php.net>
Thu, 2 Jan 2003 19:49:31 +0000 (19:49 +0000)
committerSVN Migration <svn@php.net>
Thu, 2 Jan 2003 19:49:31 +0000 (19:49 +0000)
ext/standard/tests/strings/bug21338.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/strings/bug21338.phpt b/ext/standard/tests/strings/bug21338.phpt
new file mode 100644 (file)
index 0000000..c845765
--- /dev/null
@@ -0,0 +1,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--
+string(0) ""
+string(0) ""