Re: variable declaration in class

From: Date: Tue, 18 Jun 2002 20:37:47 +0000
Subject: Re: variable declaration in class
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102788@lists.php.net to get a copy of this message
On Tue, Jun 18, 2002 at 07:21:51PM +0200, Jens Lehmann wrote: > > class test > { > var $a = 2*10; > } > > Of course I know why there's a parse error, but I don't > know the reason why PHP doesn't allow this multiplication, Because, that's why. :) --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

« previous php.general (#102788) next »