Static Member Overloading
| From: | Ryan Panning | Date: | Fri, 11 Jul 2008 13:11:39 +0000 |
| Subject: | Static Member Overloading | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-38912@lists.php.net to get a copy of this message | ||
Was static member overloading added in PHP 5.3? I noticed that static method overloading was (__callStatic). The two would complement each other and it just seems natural to add these as well. I did notice that they are apart of the "static-class" RFC and a bug report, but it would be nice to see these in 5.3. With this addition and LSB, php classes can do so much! Ex:
__setStatic()
__getStatic()
__issetStatic()
__unsetStatic()
RFC: http://wiki.php.net/rfc/static-classes
Bug Report: http://bugs.php.net/bug.php?id=45002