From: Andrey Hristov Date: Fri, 23 Jul 1999 22:35:14 +0000 (+0000) Subject: Added function entry for strip_tags. X-Git-Tag: php-4.0b2~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=244cc30c144a3b5fb6842fe07b531097d281835e;p=php Added function entry for strip_tags. --- 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);