diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-02-24 22:01:12 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-02-24 22:01:12 +0000 |
commit | 385a809694ef2532108720832bec5c12a983706c (patch) | |
tree | 54279d9160fe3361c963d78ed89e210c53e94c2b /ext/standard/php_string.h | |
parent | 85a5ef3ec99aebdc0a94d239d27c5c46ba798744 (diff) | |
download | php-git-385a809694ef2532108720832bec5c12a983706c.tar.gz |
Made strip_tags() binary safe
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r-- | ext/standard/php_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index 18e53afe27..8b032847aa 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -129,7 +129,7 @@ PHPAPI char *php_str_to_str_ex(char *haystack, int length, char *needle, PHPAPI char *php_str_to_str(char *haystack, int length, char *needle, int needle_len, char *str, int str_len, int *_new_length); PHPAPI char *php_trim(char *c, int len, char *what, int what_len, zval *return_value, int mode TSRMLS_DC); -PHPAPI void php_strip_tags(char *rbuf, int len, int *state, char *allow, int allow_len); +PHPAPI size_t php_strip_tags(char *rbuf, int len, int *state, char *allow, int allow_len); PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, pval *result); PHPAPI void php_implode(zval *delim, zval *arr, zval *return_value); PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, int limit); |