static classes (was: Overloading Clarifications)
| From: | Daniel Convissor | Date: | Mon, 26 May 2008 00:35:10 +0000 |
| Subject: | static classes (was: Overloading Clarifications) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37875@lists.php.net to get a copy of this message | ||
Hi Lars:
On Sun, May 25, 2008 at 07:07:01PM +0200, Lars Strojny wrote:
> On Sat, Apr 05, 2008 at 09:27:33AM -0400, Daniel Convissor wrote:
>
> > * The new __callStatic() is neat. Thanks. Is there consideration of
> > adding Static versions of the other overloading methods?
>
> It is part of the proposal for real static classes
> (http://wiki.php.net/rfc/static-classes) to complete them accordingly
> with __setStatic(), __getStatic() and so on.
Cool. It would be nice if the __*Static() magic methods could exist
in regular classes, not just the proposed static classes.
A question regarding this part of your RFC:
Static classes may not have a constructor, destructor,
dynamic interceptors or __toString()
What do you mean by dynamic interceptors?
Thanks,
--Dan
--
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
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409