From: Marcus Boerger Date: Tue, 30 May 2006 19:40:19 +0000 (+0000) Subject: - WS X-Git-Tag: BEFORE_NEW_OUTPUT_API~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d33e4dfe1e8255a17b8eb16bc3f6165d824aed93;p=php - WS --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index f3089fa390..8408281d02 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -2168,7 +2168,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 TSRMLS_CC)) { zend_error(E_COMPILE_ERROR, "Declaration of %v::%v() must be compatible with that of %v::%v()", ZEND_FN_SCOPE_NAME(child), child->common.function_name, ZEND_FN_SCOPE_NAME(child->common.prototype), child->common.prototype->common.function_name);