mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
simplify handling of variables by maintaining two strings which
are simply appended instead of traversing the hash table on each URL/form. also fix an unconditional segfault in rshutdown due to efree'ing a static char *. remove remove_var, add reset_vars. move the function declarations into the right header file.
This commit is contained in:
parent
ebfff2df7e
commit
9743860d35
6 changed files with 52 additions and 77 deletions
|
@ -94,5 +94,8 @@ ZEND_API extern php_output_globals output_globals;
|
|||
#define PHP_OUTPUT_HANDLER_INTERNAL 0
|
||||
#define PHP_OUTPUT_HANDLER_USER 1
|
||||
|
||||
PHP_FUNCTION(output_add_rewrite_var);
|
||||
PHP_FUNCTION(output_reset_rewrite_vars);
|
||||
|
||||
|
||||
#endif /* PHP_OUTPUT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue