From: Marcus Boerger Date: Tue, 30 May 2006 19:41:04 +0000 (+0000) Subject: - MFH WS X-Git-Tag: php-5.2.0RC1~414 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d7d2aebe667bd48826526269d7b72d3de3ec534;p=php - MFH WS --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 4b5410ac72..c9b6c814e9 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -2033,7 +2033,6 @@ static zend_bool do_inherit_method_check(HashTable *child_function_table, zend_f child->common.prototype = parent->common.prototype ? parent->common.prototype : parent; } - if (child->common.prototype) { if (!zend_do_perform_implementation_check(child, child->common.prototype)) { zend_error(E_COMPILE_ERROR, "Declaration of %s::%s() must be compatible with that of %s::%s()", ZEND_FN_SCOPE_NAME(child), child->common.function_name, ZEND_FN_SCOPE_NAME(child->common.prototype), child->common.prototype->common.function_name);