mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.2' into PHP-8.3
This commit is contained in:
commit
ae44ab47a7
6 changed files with 91 additions and 3 deletions
|
@ -28,7 +28,9 @@
|
|||
|
||||
/* for systems that need to override reading of environment variables */
|
||||
void _php_import_environment_variables(zval *array_ptr);
|
||||
void _php_load_environment_variables(zval *array_ptr);
|
||||
PHPAPI void (*php_import_environment_variables)(zval *array_ptr) = _php_import_environment_variables;
|
||||
PHPAPI void (*php_load_environment_variables)(zval *array_ptr) = _php_load_environment_variables;
|
||||
|
||||
PHPAPI void php_register_variable(const char *var, const char *strval, zval *track_vars_array)
|
||||
{
|
||||
|
@ -632,6 +634,11 @@ void _php_import_environment_variables(zval *array_ptr)
|
|||
tsrm_env_unlock();
|
||||
}
|
||||
|
||||
void _php_load_environment_variables(zval *array_ptr)
|
||||
{
|
||||
php_import_environment_variables(array_ptr);
|
||||
}
|
||||
|
||||
bool php_std_auto_global_callback(char *name, uint32_t name_len)
|
||||
{
|
||||
zend_printf("%s\n", name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue