Re: Scope of include

From: Date: Thu, 18 Jan 2007 09:06:44 +0000
Subject: Re: Scope of include
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247299@lists.php.net to get a copy of this message
# jekillen@prodigy.net / 2007-01-17 21:49:05 -0800: > Hello php list: > If I include a php script inside a php function definition and then > call the function in another script. What is the scope of variables in > the included script? Are they local to the function that calls include > with the file name? Yes. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991

« previous php.general (#247299) next »