mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
more cleanup (lingering ini settings which do not exist anymore, etc.)
This commit is contained in:
parent
672266c735
commit
6af3218f81
9 changed files with 21 additions and 102 deletions
|
@ -772,7 +772,7 @@ static void php_autoglobal_merge(HashTable *dest, HashTable *src TSRMLS_DC)
|
|||
) {
|
||||
(*src_entry)->refcount++;
|
||||
if (key_type == HASH_KEY_IS_STRING) {
|
||||
/* if register_globals is on and working with main symbol table, prevent overwriting of GLOBALS */
|
||||
/* prevent overwriting of GLOBALS */
|
||||
if (string_key_len != sizeof("GLOBALS") || memcmp(string_key.s, "GLOBALS", sizeof("GLOBALS") - 1)) {
|
||||
zend_u_hash_update(dest, key_type, string_key, string_key_len, src_entry, sizeof(zval *), NULL);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue