RE: [PHP] include, include_once bug or feature ?

2002-03-14 Thread Matt Friedman
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

Re: [PHP] include, include_once bug or feature ?

2002-03-14 Thread Pavel Plesov
: 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, :