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
Hi Ryan,
Am Freitag, den 11.07.2008, 08:11 -0500 schrieb Ryan Panning:
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:
if the RFC for static classes will be accepted, static property
interceptors will be a part of the next PHP major version (might it be
5.4 or 6). So it won't make it into 5.3, but we will have that hopefully
in the future.
cu, Lars