mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
- local redeclaration
This commit is contained in:
parent
fc4853f34b
commit
88a1f3988c
1 changed files with 3 additions and 3 deletions
|
@ -1811,13 +1811,13 @@ static PHP_FUNCTION(session_unset)
|
||||||
}
|
}
|
||||||
|
|
||||||
IF_SESSION_VARS() {
|
IF_SESSION_VARS() {
|
||||||
HashTable *ht;
|
HashTable *ht_sess_var;
|
||||||
|
|
||||||
SEPARATE_ZVAL_IF_NOT_REF(&PS(http_session_vars));
|
SEPARATE_ZVAL_IF_NOT_REF(&PS(http_session_vars));
|
||||||
ht = Z_ARRVAL_P(PS(http_session_vars));
|
ht_sess_var = Z_ARRVAL_P(PS(http_session_vars));
|
||||||
|
|
||||||
/* Clean $_SESSION. */
|
/* Clean $_SESSION. */
|
||||||
zend_hash_clean(ht);
|
zend_hash_clean(ht_sess_var);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue