diff options
author | Wez Furlong <wez@php.net> | 2002-03-20 14:38:13 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-20 14:38:13 +0000 |
commit | 3dbde958967b28cba3f03629b21081208d1e0ac2 (patch) | |
tree | 46061964bbb5dc9581cf9c8b8b9732bb96787592 /ext/standard/php_string.h | |
parent | 659a071e3df2f16cd21083d1dec8c19e199f7757 (diff) | |
download | php-git-3dbde958967b28cba3f03629b21081208d1e0ac2.tar.gz |
Make state parameter of php_strip_tags passed by reference.
Move state tracking to stream structure.
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 5f5a47dae4..8dfbb4704a 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -115,7 +115,7 @@ PHPAPI char *php_str_to_str(char *haystack, int length, char *needle, int needle_len, char *str, int str_len, int *_new_length); PHPAPI void php_trim(zval **str, zval *return_value, int mode TSRMLS_DC); PHPAPI void php_trim2(zval **str, zval **what, zval *return_value, int mode TSRMLS_DC); -PHPAPI void php_strip_tags(char *rbuf, int len, int state, char *allow, int allow_len); +PHPAPI void 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); |