mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix GH-15905: Assertion failure for TRACK_VARS_SERVER
This commit is contained in:
commit
05fce50f94
3 changed files with 14 additions and 0 deletions
|
@ -893,6 +893,7 @@ static bool php_auto_globals_create_server(zend_string *name)
|
|||
} else {
|
||||
zval_ptr_dtor_nogc(&PG(http_globals)[TRACK_VARS_SERVER]);
|
||||
array_init(&PG(http_globals)[TRACK_VARS_SERVER]);
|
||||
zend_hash_real_init_mixed(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]));
|
||||
}
|
||||
|
||||
check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue