Recursive Static Method
| From: | Craige Leeder | Date: | Thu, 13 Nov 2008 06:59:08 +0000 |
| Subject: | Recursive Static Method | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-283236@lists.php.net to get a copy of this message | ||
Hi Guys,
Quick question: can a static method in PHP be recursive, or is there some sort of weird law against this? Ihave my method setPrereq that can essentially call itself (well, it includes a file which may call the setPrereq method, so essentially it is recursive).
I've done some tests, and it seems my setPrereq method is only getting called once. I'm not getting any errors under E_STRICT
Regards,
- Craige