mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Added RC_DEBUG exception
This commit is contained in:
parent
3e35def20b
commit
d92a701a3b
1 changed files with 5 additions and 1 deletions
|
@ -1734,8 +1734,12 @@ void fcgi_impersonate(void)
|
|||
void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len)
|
||||
{
|
||||
zval zvalue;
|
||||
zend_string *key = zend_string_init(name, name_len, 1);
|
||||
ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1));
|
||||
zend_hash_str_add(&fcgi_mgmt_vars, name, name_len, &zvalue);
|
||||
GC_MAKE_PERSISTENT_LOCAL(key);
|
||||
GC_MAKE_PERSISTENT_LOCAL(Z_STR(zvalue));
|
||||
zend_hash_add(&fcgi_mgmt_vars, key, &zvalue);
|
||||
zend_string_release(key);
|
||||
}
|
||||
|
||||
void fcgi_free_mgmt_var_cb(zval *zv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue