mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Added RC_DEBUG exception
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user