__call and recursion

From: Date: Sun, 09 May 2010 21:21:19 +0000
Subject: __call and recursion
Groups: php.general 
Request: Send a blank email to php-general+get-305026@lists.php.net to get a copy of this message
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 `

« previous php.general (#305026) next »