summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-05-30 19:41:04 +0000
committerMarcus Boerger <helly@php.net>2006-05-30 19:41:04 +0000
commit2d7d2aebe667bd48826526269d7b72d3de3ec534 (patch)
tree45cc0f975fae431ff0afcfe75b47cb72af551186 /Zend
parent79b21ec4cfa3aa4f62ad96d0ba22f0cb68803fc1 (diff)
downloadphp-git-2d7d2aebe667bd48826526269d7b72d3de3ec534.tar.gz
- MFH WS
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_compile.c1
1 files changed, 0 insertions, 1 deletions
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);