summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index fc35227541..9255ade0ac 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1185,7 +1185,7 @@ int zend_register_functions(zend_class_entry *scope, zend_function_entry *functi
} else {
internal_function->fn_flags = ZEND_ACC_PUBLIC;
}
- if (!internal_function->handler) {
+ if (!internal_function->handler && !(ptr->flags&ZEND_ACC_ABSTRACT)) {
zend_error(error_type, "Null function defined as active function");
zend_unregister_functions(functions, count, target_function_table TSRMLS_CC);
return FAILURE;