Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7952 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82324 invoked by uid 1010); 18 Feb 2004 14:39:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 82278 invoked by uid 1007); 18 Feb 2004 14:39:11 -0000 To: internals@lists.php.net Date: Wed, 18 Feb 2004 15:39:10 +0100 Message-ID: <20040218153910.72cd1a0e@localhost.localdomain> References: <20040218152756.1f958513@localhost.localdomain> Organization: Freelancer X-Newsreader: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Posted-By: 213.196.192.45 Subject: Re: HEAD, include(_once), bug in variable declaration From: paj@pearfr.org (Pierre-Alain Joye) 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