#26739 [Opn->Csd]: __call() doesn't work for static methods
| From: | stas@php.net | Date: | Fri, 09 Nov 2007 23:37:35 +0000 |
| Subject: | #26739 [Opn->Csd]: __call() doesn't work for static methods | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119406@lists.php.net to get a copy of this message | ||
ID: 26739
Updated by: stas@php.net
Reported By: demiurg at terra dot es
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 5.0.0
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
__callStatic was implemented, I guess it does what you wanted?
Previous Comments:
------------------------------------------------------------------------
[2007-11-05 14:57:57] lokrain at gmail dot com
stas, I hope you are right! I think this is a majer issue. I hope
someone get soon assigned to that "bug?!".
------------------------------------------------------------------------
[2007-08-23 01:47:07] stas@php.net
Actually AFAIK it's implemented in PHP 6 HEAD and maybe will be also
backported to 5.3.
------------------------------------------------------------------------
[2007-07-29 22:45:56] tom at ix dot tc
The last response was 3 years ago but this has yet to be implemented.
Any updates on this? I would really like to have this feature.
------------------------------------------------------------------------
[2007-03-16 08:40:01] ecentinela at gmail dot com
Have been resolved this issue? There is some workaround?
Thanks
------------------------------------------------------------------------
[2003-12-29 08:07:21] helly@php.net
__call() doesn't offer anything to distinguish between static and
dynamic calls. So we'd need a new magic function say __static_call().
For 5.0.0 we have a feature freeze already, so this might take a while.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26739
--
Edit this bug report at http://bugs.php.net/?id=26739&edit=1