Re: Re: require_once

From: Date: Thu, 02 Sep 2010 11:20:22 +0000
Subject: Re: Re: require_once
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-307824@lists.php.net to get a copy of this message
On 02/09/2010 12:59 p, Peter Lind wrote:
Which wouldn't do anything seeing as file2.php has already been included by file1.php. Amazing! I didn't think that once you include a file; any other file included also includes any earlier included files (if that makes any sence)
I've always thought includes are local; I.e in order to use a function from another file explicitly include that other file. -- Jangita | +256 76 91 8383 | Y! & MSN: jangita@yahoo.com Skype: jangita | GTalk: jangita.nyagudi@gmail.com

« previous php.general (#307824) next »