Re: include, include_once bug or feature ?

From: Date: Thu, 14 Mar 2002 14:15:12 +0000
Subject: Re: include, include_once bug or feature ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88495@lists.php.net to get a copy of this message
: I think that since you are including a file into a function - the vars : become local so they only exist when the function is running. Therefore, : a call to get_defined_vars will not show them since the vars do not : exist in the global scope. In fact, during the call to get_defined_vars, : the included vars do not exist at all. : : This is a feature, not a bug. Thanks. Now, I understood :) -- Pavel Plesov Simpage support

« previous php.general (#88495) next »