Re: Error in require_once() documentation

From: Date: Fri, 16 Jul 2004 09:12:01 +0000
Subject: Re: Error in require_once() documentation
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361918@lists.php.net to get a copy of this message
On Fri, 16 Jul 2004 10:20:56 +0200 "Michele Locati" <michele@locati.it> wrote: > Hi > > I noticed an little mistake in the documentation of the require_once() > function. > > Here you say: > "Example 11-8. require_once() is case insensitive on Windows" > > It should be > "Example 11-8. require_once() is case sensitive on Windows" > > (insensitive => sensitive) > > > In fact: > require_once('a_file.php'); > is seen by require_once() as different from > require_once('A_File.php'); > even if the file is the same on Windows Are you sure ? 1.php: <? require_once 'a.php'; // a.php instead of A.php ?> A.php: <? phpinfo(); ?> php.exe -f 1.php works fine for me. --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net || antony@dovgal.com

« previous php.doc (#969361918) next »