lost return value during a static call
| From: | chamila gayan | Date: | Thu, 15 Sep 2011 13:01:48 +0000 |
| Subject: | lost return value during a static call | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-314869@lists.php.net to get a copy of this message | ||
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 be I'm doing this in a wrong way so your suggestions are welcome. And I
really appreciate if someone can explain how 'return' behaves with static
methods specially when they are called recursively. thanks a bunch
chamila