#45903 [Opn->Csd]: extends from a class which is extends from another cause complie failed

From: Date: Sun, 24 Aug 2008 18:28:45 +0000
Subject: #45903 [Opn->Csd]: extends from a class which is extends from another cause complie failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-128367@lists.php.net to get a copy of this message
ID: 45903 User updated by: laruence at yahoo dot com dot cn Reported By: laruence at yahoo dot com dot cn -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: rhel-4.x PHP Version: 5.2.6 New Comment: closed Previous Comments: ------------------------------------------------------------------------ [2008-08-24 18:26:09] laruence at yahoo dot com dot cn while, after I tracing again ,I found the reason. when opcode ZEND_FETCH_CLASS(op2 is b) which is used to generated class a was executed. the class b was not in the class table yet, because class b is a drived class too ,it also need ZEND_DECLARE_INHERITED_CLASS belong to its to be executed for add class itself to class_table. so ,I think this should be a bug, am I wrong? ------------------------------------------------------------------------ [2008-08-24 17:53:07] laruence at yahoo dot com dot cn open ------------------------------------------------------------------------ [2008-08-24 17:50:45] laruence at yahoo dot com dot cn need verified again. ------------------------------------------------------------------------ [2008-08-24 14:01:37] laruence at yahoo dot com dot cn fixed the misspell........ cause => case ------------------------------------------------------------------------ [2008-08-24 13:58:44] laruence at yahoo dot com dot cn change the os desc. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/45903 -- Edit this bug report at http://bugs.php.net/?id=45903&edit=1

« previous php.bugs (#128367) next »