summaryrefslogtreecommitdiff
path: root/ext/standard/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/html.c')
-rw-r--r--ext/standard/html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c
index db4c4364f6..78f179ba39 100644
--- a/ext/standard/html.c
+++ b/ext/standard/html.c
@@ -108,7 +108,7 @@ static void _php3_htmlentities(INTERNAL_FUNCTION_PARAMETERS, int all)
/* {{{ proto string htmlspecialchars(string string)
Convert special characters to HTML entities */
-void php3_htmlspecialchars(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(htmlspecialchars)
{
_php3_htmlentities(INTERNAL_FUNCTION_PARAM_PASSTHRU,0);
}
@@ -116,7 +116,7 @@ void php3_htmlspecialchars(INTERNAL_FUNCTION_PARAMETERS)
/* {{{ proto string htmlentities(string string)
Convert all applicable characters to HTML entities */
-void php3_htmlentities(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(htmlentities)
{
_php3_htmlentities(INTERNAL_FUNCTION_PARAM_PASSTHRU,1);
}