Re: class effeciency
| From: | Nick Wilson | Date: | Thu, 28 Feb 2002 11:09:28 +0000 |
| Subject: | Re: class effeciency | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86567@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* and then S.Murali Krishna declared....
>
> Hi
> I too suggested a way for your previous problem.
> What you are doing is right here, but some corrections are there.
>
> You cannot use 'var' to declare variables inside constructors
> rather you could use them only before constructor, and intialize
> them inside constructor, look out the below code.
Doh! what an idiot. I completely missed that. Now I see it it's obvious,
thanks once again for your help S.
- --
- -----------------------------------------------------------
www.explodingnet.com | Projects, Forums and
+ Articles for website owners
- -- Nick Wilson -- | and designers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8fg/oHpvrrTa6L5oRAkxnAJ9KJW8jGUaXAQ9TI2NNIF/Mfuu8CQCfVMJf
CvJbklp8n3O0fOBS95YCzuM=
=MCqF
-----END PGP SIGNATURE-----