Re: [PHP] lost return value during a static call

2011-09-16 Thread Johan Lidström
On 15 September 2011 15:57, Robert Williams rewilli...@thesba.com wrote: On Sep 15, 2011, at 6:03, chamila gayan cgcham...@gmail.com wrote: when it goes through 2 static methods, at some point it stops returning value to the calling method. (please see comments in-line). The getArray()

Re: [PHP] lost return value during a static call

2011-09-15 Thread Robert Williams
On Sep 15, 2011, at 6:03, chamila gayan cgcham...@gmail.com wrote: when it goes through 2 static methods, at some point it stops returning value to the calling method. (please see comments in-line). The getArray() method and the 'else' portion of the getChild() method both lack a return

Re: [PHP] lost return value during a static call

2011-09-15 Thread Richard Quadling
On 15 September 2011 14:01, chamila gayan cgcham...@gmail.com wrote: hi All, I'm seeing a weired behavior in following code http://pastebin.com/B5q8i1RY when it goes through 2 static methods, at some point it stops returning value to the calling method. (please see comments in-line). may