Scope of include

From: Date: Thu, 18 Jan 2007 05:49:05 +0000
Subject: Scope of include
Groups: php.general 
Request: Send a blank email to php-general+get-247295@lists.php.net to get a copy of this message
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? Thanks in advance; I'm not sure where to look for this answer; JK

« previous php.general (#247295) next »