Re: protected __call() question

From: Date: Thu, 08 Apr 2004 06:09:20 +0000
Subject: Re: protected __call() question
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-8979@lists.php.net to get a copy of this message
Jochem Maas wrote:
I'm happy to just remove the P and add it again if ever that becomes an option.
Or go for the simpler option: Just don't use P. An addition to the documentation of __call saying that it has to be public makes sense though. The meaning of PPP on __call would be confusing anyway: Does it mean the implementation of __call or the visibility of the 'virtual' functions being called. I'd assume the first but people _will_ get confused. And I think __call has such few uses (I can think of one class right now: Object proxies for SOAP/ XMLRPC or the like) that you will hardly redeclare it anyway. If you start using __call on a regular basis you should probably rethink your design :-) - Chris

« previous php.internals (#8979) next »