mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Make state parameter of php_strip_tags passed by reference.
Move state tracking to stream structure.
This commit is contained in:
parent
659a071e3d
commit
3dbde95896
6 changed files with 16 additions and 12 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue