diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-28 16:43:22 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-28 16:50:07 +0200 |
| commit | 2c15c9ce80b0c8779a3d5cc5ad1c3452e620d084 (patch) | |
| tree | 0fbbf25329c9ac7ce978efd0cfebb26de14403e2 /main/php_globals.h | |
| parent | 138f14160569a52ffedfb789d0a8162741ec87b3 (diff) | |
| download | php-git-2c15c9ce80b0c8779a3d5cc5ad1c3452e620d084.tar.gz | |
Rehash function table after disabling functions
To perform fast shutdown without full table cleanup we need all
internal functions to be in one continuous chunk. This was
violated when functions were deleted via disable_functions.
This drops the zend_disable_function() API in favor of
zend_disable_functions(), which disables the given list of
functions and performs the necessary rehash afterwards.
Also drop PG(disabled_functions), which is no longer used.
Diffstat (limited to 'main/php_globals.h')
| -rw-r--r-- | main/php_globals.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/php_globals.h b/main/php_globals.h index 42337e5b9b..e079866645 100644 --- a/main/php_globals.h +++ b/main/php_globals.h @@ -139,7 +139,6 @@ struct _php_core_globals { char *php_sys_temp_dir; - char *disable_functions; char *disable_classes; zend_bool allow_url_include; #ifdef PHP_WIN32 |
