#18630 [Csd]: require_once is case sensitive

From: Date: Fri, 01 Nov 2002 08:43:02 +0000
Subject: #18630 [Csd]: require_once is case sensitive
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349383@lists.php.net to get a copy of this message
ID: 18630 Updated by: alan_k@php.net Reported By: dparks@verinform.com Status: Closed Bug Type: Documentation problem Operating System: Windows NT 4.0 PHP Version: 4.2.1 New Comment: this also affects 4.2.2 (and probably 4.2.3) Previous Comments: ------------------------------------------------------------------------ [2002-07-29 16:58:10] goba@php.net This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-07-29 14:53:52] dparks@verinform.com require_once('bah.php'); require_once('BAH.php'); Will "require" bah.php twice. I realize this makes sense on a case sensitive file system, but on Windows (NTFS, I guess) or Mac OS X (HFS+) it can be a surprise. Users should really use case consistently, but sometimes a search and replace will change case or something (that's what happened to me). I'm not sure this behavior should be changed; it would be nice if it was documented, though. Sorry, I can't confirm this happens in a newer version of PHP! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18630&edit=1

« previous php.doc (#969349383) next »