class (not class instance) variables
| From: | Steven Haryanto | Date: | Sat, 05 May 2001 20:33:18 +0000 |
| Subject: | class (not class instance) variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51565@lists.php.net to get a copy of this message | ||
Am I correct that PHP does not support class variables? That is,
variables that belong to a class and not copied into every object.
I need to put several arrays for information about a class, and I
do not want to bloat every object with this data (since potentially
I will create many instances of the class).
Currently I do this with methods. Any other alternative?
--
sh