diff options
author | Marcus Boerger <helly@php.net> | 2003-08-16 20:46:22 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-08-16 20:46:22 +0000 |
commit | fe1a086d19a9635ee9e7acb4466217345902834e (patch) | |
tree | 0fdde16775605fd5749572ef3f4974880a750732 /Zend/zend_API.c | |
parent | c346aad91a3f5db185f7add67ddf778db59c7bbd (diff) | |
download | php-git-fe1a086d19a9635ee9e7acb4466217345902834e.tar.gz |
Simplify abstract method declaration
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 2 |
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; |