__call and recursion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've defined a __call() method inside a class.  Within the __call()
method (after testing that the method exists and is callable I am using:

call_user_func_array(array($this,$method), $args);

However, this seems to be an infinite loop (and is crashing my test
apache server).  How, could I still use the __call() method and avoid an
infinite loop of calling?

Thanks,
dK
`

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux