Re: HEAD, include(_once), bug in variable declaration
| From: | Pierre-Alain Joye | Date: | Wed, 18 Feb 2004 14:39:10 +0000 |
| Subject: | Re: HEAD, include(_once), bug in variable declaration | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7952@lists.php.net to get a copy of this message | ||
On Wed, 18 Feb 2004 15:27:56 +0100
paj@pearfr.org (Pierre-Alain Joye) wrote:
> Hello,
>
> Having the scripts pasted below:
>
> include_once fails to declare the variable 'foo'. Replace include_once
> by include and it works. I got the same behavior using require and
> require_once.
To be precised: it fails to declare the variable on the 2nd call. The
1st call works.
pierre