mirror of
https://github.com/php/php-src.git
synced 2026-04-26 01:18:19 +02:00
8b51bcaa18
In CGI, php_auto_globals_create_server() (i.e. auto_global_callback() here) initializes $_ENV to reuse for $_SERVER. However, because $_SERVER is constructed first, we have not yet initialized auto_global->armed of the $_ENV global. Split the loop into initialization and constructor phases. Closes GH-19870