#30702 [Asn->Csd]: cannot initialize class variable from class constant

From: Date: Tue, 26 Apr 2005 09:28:04 +0000
Subject: #30702 [Asn->Csd]: cannot initialize class variable from class constant
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78196@lists.php.net to get a copy of this message
ID: 30702 Updated by: dmitry@php.net Reported By: douglass_davis at earthlink dot net -Status: Assigned +Status: Closed Bug Type: Zend Engine 2 problem Operating System: * PHP Version: 5CVS-2005-03-07 Assigned To: andi New Comment: Fixed in CVS HEAD and PHP_5_0. Previous Comments: ------------------------------------------------------------------------ [2005-03-07 21:49:07] sniper@php.net Does not work with latest HEAD nor latest PHP_5_0 ------------------------------------------------------------------------ [2005-02-16 12:14:34] php at kaiundina dot de seems to be the same Problem occuring at a slightly different place: Bug #31601 ------------------------------------------------------------------------ [2004-11-17 20:54:39] nlopess@php.net It doesn't work with latest PHP 5.1 here: Fatal error: Cannot access self:: when no class scope is active in C:\cygwin\home\Nuno\kk.php on line 21 ------------------------------------------------------------------------ [2004-11-16 12:22:25] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Works fine here. ------------------------------------------------------------------------ [2004-11-11 17:25:04] nlopess@php.net I think this was supposed to work.. ------------------------------------------------------------------------ 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/30702 -- Edit this bug report at http://bugs.php.net/?id=30702&edit=1

« previous php.bugs (#78196) next »