Re: Include question

From: Date: Sun, 02 Jun 2002 03:11:47 +0000
Subject: Re: Include question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100274@lists.php.net to get a copy of this message
Your second guess. But you could've tested it easily with two includes appending stuff to the same global var. Bogdan John Holmes wrote:
Hi. When I've got code like the following: if($this) { include("this.html"); } elseif($that) { include("that.html"); } When are the includes() evaluated? Does the Zend engine do the includes first, pull in all of the code, then process it and produce output. Or does the engine start processing the code and only load the includes when it gets to them? Thanks for any explanations. ---John Holmes.


« previous php.general (#100274) next »