cvs: ZendEngine2 / zend_compile.c
| From: | Marcus Boerger | Date: | Tue, 30 May 2006 19:40:19 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4946@lists.php.net to get a copy of this message | ||
helly Tue May 30 19:40:19 2006 UTC
Modified files:
/ZendEngine2 zend_compile.c
Log:
- WS
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_compile.c?r1=1.710&r2=1.711&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.710 ZendEngine2/zend_compile.c:1.711
--- ZendEngine2/zend_compile.c:1.710 Mon May 29 21:28:15 2006
+++ ZendEngine2/zend_compile.c Tue May 30 19:40:19 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.710 2006/05/29 21:28:15 tony2001 Exp $ */
+/* $Id: zend_compile.c,v 1.711 2006/05/30 19:40:19 helly Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -2168,7 +2168,6 @@
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);