Exactly...

Is that normal workings or more like a bugie one?

On Sat, Aug 30, 2008 at 10:02 PM, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> Cristian Rodríguez wrote:
>>
>> Diogo Neves escribió:
>>>
>>> Hi all,
>>>
>>> I'm emailling to ask why __call isn't called when you call a private
>>> method from outside of function...
>>
>> Please provide example code ;-)
>
> He means this:
>
> class foo {
>  private function bar() { }
>  function __call($f,$a) {
>    echo "called $f";
>  }
> }
> $a = new foo;
> $a->bar();
>

-- 
Thanks by your attention,

Diogo Neves
Web Developer @ SAPO.pt by PrimeIT.pt

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to