Re: Constants in class definitions

From: Date: Tue, 24 Feb 2004 00:55:26 +0000
Subject: Re: Constants in class definitions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178623@lists.php.net to get a copy of this message
On Tue, 2004-02-24 at 08:22, Toro Hill wrote: > I've looked throught the PHP documentation and from what I can > tell it is legal. I'm using PHP4.3.4, and haven't had any problems with > class definitions like this. I use constants in classes myself without problems. In PHP 5 you can actually declare constant class properties! :) > However, I've had some problems with Turck MMCache and class definitions > that are similar to above. I suspect that it's probably a bug with > MMCache but I wanted to check to make sure that the code was completely > correct. I also use MMCache, mind sharing the problems you are experiencing? -- Adam Bregenzer adam@bregenzer.net http://adam.bregenzer.net/

« previous php.general (#178623) next »