RE: [PHP] __call and recursion

2010-05-12 Thread Lawrance Shepstone
ailto:rquadl...@googlemail.com] Sent: 12 May 2010 12:28 PM To: Daniel Kolbo Cc: PHP General Subject: Re: [PHP] __call and recursion On 9 May 2010 22:21, Daniel Kolbo wrote: > Hello, > > I've defined a __call() method inside a class. Within the __call() > method (after testing th

Re: [PHP] __call and recursion

2010-05-12 Thread Richard Quadling
On 9 May 2010 22:21, Daniel Kolbo wrote: > 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

Re: [PHP] __call and recursion

2010-05-09 Thread Peter Lind
On 9 May 2010 23:56, Nathan Nobbe wrote: > On Sun, May 9, 2010 at 3:25 PM, Peter Lind wrote: >> >> On 9 May 2010 23:21, Daniel Kolbo wrote: >> > Hello, >> > >> > I've defined a __call() method inside a class.  Within the __call() >> > method (after testing that the method exists and is callable

Re: [PHP] __call and recursion

2010-05-09 Thread Nathan Nobbe
On Sun, May 9, 2010 at 3:25 PM, Peter Lind wrote: > On 9 May 2010 23:21, Daniel Kolbo wrote: > > 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($thi

Re: [PHP] __call and recursion

2010-05-09 Thread Peter Lind
On 9 May 2010 23:21, Daniel Kolbo wrote: > 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

[PHP] __call and recursion

2010-05-09 Thread Daniel Kolbo
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