mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix bug #75712: getenv in php-fpm should not read $_ENV, $_SERVER
Closes GH-13195
This commit is contained in:
parent
b06d6dba4f
commit
bc30ae4f04
6 changed files with 91 additions and 3 deletions
|
@ -32,6 +32,7 @@
|
|||
BEGIN_EXTERN_C()
|
||||
void php_startup_auto_globals(void);
|
||||
extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr);
|
||||
extern PHPAPI void (*php_load_environment_variables)(zval *array_ptr);
|
||||
PHPAPI void php_register_variable(const char *var, const char *val, zval *track_vars_array);
|
||||
/* binary-safe version */
|
||||
PHPAPI void php_register_variable_safe(const char *var, const char *val, size_t val_len, zval *track_vars_array);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue