cvs: ZendEngine2 / zend_compile.c

From: Date: Thu, 26 Aug 2004 22:32:38 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2906@lists.php.net to get a copy of this message
helly Thu Aug 26 18:32:38 2004 EDT Modified files: /ZendEngine2 zend_compile.c Log: Drop doubled check http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.582&r2=1.583&ty=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.582 ZendEngine2/zend_compile.c:1.583 --- ZendEngine2/zend_compile.c:1.582 Thu Aug 26 18:25:55 2004 +++ ZendEngine2/zend_compile.c Thu Aug 26 18:32:38 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.582 2004/08/26 22:25:55 helly Exp $ */ +/* $Id: zend_compile.c,v 1.583 2004/08/26 22:32:38 helly Exp $ */ #include "zend_language_parser.h" #include "zend.h" @@ -999,7 +999,7 @@ zend_str_tolower_copy(short_class_name, CG(active_class_entry)->name, short_class_name_length); /* Improve after RC: cache the lowercase class name */ - if ((short_class_name_length == name_len) && (!memcmp(short_class_name, lcname, name_len)) && !(CG(active_class_entry)->ce_flags & ZEND_ACC_INTERFACE)) { + if ((short_class_name_length == name_len) && (!memcmp(short_class_name, lcname, name_len))) { if (CG(active_class_entry)->constructor) { zend_error(E_STRICT, "Redefining already defined constructor for class %s", CG(active_class_entry)->name); } else {

« previous php.zend-engine.cvs (#2906) next »