summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-03-01 14:04:51 +0000
committerAndi Gutmans <andi@php.net>2002-03-01 14:04:51 +0000
commitd1eea3de9c9a1e92a5cd0813c4608b9defef4927 (patch)
treedf42216da86dfeb33d74245e2d27d5d89568c1bb /Zend/zend_API.c
parent6f6c4ec7c7a24f98a646c1a485fcac39ea24defd (diff)
downloadphp-git-d1eea3de9c9a1e92a5cd0813c4608b9defef4927.tar.gz
- Fix bug in nested try/catch's
- Infrastructure for implementing imports of methods.
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 7e03e22d4f..32af0185e9 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1046,6 +1046,7 @@ int zend_register_functions(zend_function_entry *functions, HashTable *function_
internal_function->handler = ptr->handler;
internal_function->arg_types = ptr->func_arg_types;
internal_function->function_name = ptr->fname;
+ internal_function->scope = NULL;
if (!internal_function->handler) {
zend_error(error_type, "Null function defined as active function");
zend_unregister_functions(functions, count, target_function_table TSRMLS_CC);