Re: Site shortage: nested includes.

From: Date: Tue, 02 Dec 2003 22:06:01 +0000
Subject: Re: Site shortage: nested includes.
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-22362@lists.php.net to get a copy of this message
On Tue, 2 Dec 2003, David Weeks wrote: > Hello everyone, > > I've been over the "include" sections of this site, and found a woefully > overlooked details: the nesting of include. > > php's include is a great asset of the php facility, but there is very > little treatment of its ability to nest. Also known --- incorrectly --- > as recursion. > > So tell me, what is php's ability to nest its include statements. By > experience, I've found that it is only one deep. An include that has a > further include does NOT get additional includes processed. Uh? This works just fine... you can nest as much as you want, except that you should not include the same file twice. (For more questions, please refer to the php-general@lists.php.net mailinglist). Derick

« previous php.mirrors (#22362) next »