diff options
| author | Andi Gutmans <andi@php.net> | 2004-10-04 19:54:35 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2004-10-04 19:54:35 +0000 |
| commit | db507dd153fa668fef95863afee4d04f33b80b85 (patch) | |
| tree | 67ffc59fbd97a93c94e37ae6a8cb735b6755e221 /Zend/zend_API.h | |
| parent | bb77132391aaeb07daa0e057ea5c11cdb151dfda (diff) | |
| download | php-git-db507dd153fa668fef95863afee4d04f33b80b85.tar.gz | |
- Commit the variable fetch optimization.
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
Diffstat (limited to 'Zend/zend_API.h')
| -rw-r--r-- | Zend/zend_API.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index e5d3927c9b..1466308456 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -333,6 +333,8 @@ ZEND_API int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length, zend_bool is_ref, int num_symbol_tables, ...); +ZEND_API int delete_global_variable(char *name, int name_len TSRMLS_DC); + #define add_method(arg, key, method) add_assoc_function((arg), (key), (method)) ZEND_API ZEND_FUNCTION(display_disabled_function); |
