OOP with PHP
| From: | Erik Price | Date: | Tue, 21 May 2002 18:14:14 +0000 |
| Subject: | OOP with PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-98625@lists.php.net to get a copy of this message | ||
Yesterday, I read in the archives somewhere that in PHP, class attributes are all static attributes (class variables), not instance variables. (Figures, I can't find it again, so I can't provide a link.) In other words, the attributes apply to every single instance of an object. This contradicts my limited experience with OOP in PHP, but I hoped someone could confirm this before I write up this giant class I'm working on.
Thanks!
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
pricee@hhbrown.com