Make state parameter of php_strip_tags passed by reference.

Move state tracking to stream structure.
This commit is contained in:
Wez Furlong 2002-03-20 14:38:13 +00:00
parent 659a071e3d
commit 3dbde95896
6 changed files with 16 additions and 12 deletions

View file

@ -118,6 +118,7 @@ struct _php_stream {
void *wrapperthis; /* convenience pointer for a instance of a wrapper */
zval *wrapperdata; /* fgetwrapperdata retrieves this */
int fgetss_state; /* for fgetss to handle multiline tags */
int is_persistent;
char mode[16]; /* "rwb" etc. ala stdio */
int rsrc_id; /* used for auto-cleanup */