summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/basic_functions.c1
-rw-r--r--ext/standard/php3_string.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 804789a5e0..f8e8678bad 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -111,6 +111,7 @@ function_entry basic_functions[] = {
{"trim", php3_trim, NULL},
{"ltrim", php3_ltrim, NULL},
{"rtrim", php3_chop, NULL},
+ PHP_FE(strip_tags, NULL)
{"pos", array_current, first_arg_force_ref},
{"getimagesize", php3_getimagesize, NULL},
diff --git a/ext/standard/php3_string.h b/ext/standard/php3_string.h
index 0619a58d76..111138ab36 100644
--- a/ext/standard/php3_string.h
+++ b/ext/standard/php3_string.h
@@ -83,6 +83,7 @@ PHP_FUNCTION(chunk_split);
PHP_FUNCTION(parsestr);
PHP_FUNCTION(bin2hex);
PHP_FUNCTION(similar_text);
+PHP_FUNCTION(strip_tags);
extern PHPAPI char *_php3_strtoupper(char *s);
extern PHPAPI char *_php3_strtolower(char *s);