Date: 07/29/02
- Next message: Friedhelm Betz: "Re: [PHP-DOC] howtp.html.tar.gz"
- Previous message: paul <email protected>: "[PHP-DOC] #18629 [NEW]: Undocumented behavior of arrays"
- Next in thread: goba <email protected>: "[PHP-DOC] #18630 [Opn->Csd]: require_once is case sensitive"
- Reply: goba <email protected>: "[PHP-DOC] #18630 [Opn->Csd]: require_once is case sensitive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: dparks <email protected>
Operating system: Windows NT 4.0
PHP version: 4.2.1
PHP Bug Type: Documentation problem
Bug description: require_once is case sensitive
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 bug report at http://bugs.php.net/?id=18630&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18630&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18630&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18630&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18630&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18630&r=support Expected behavior: http://bugs.php.net/fix.php?id=18630&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18630&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18630&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18630&r=globals-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Friedhelm Betz: "Re: [PHP-DOC] howtp.html.tar.gz"
- Previous message: paul <email protected>: "[PHP-DOC] #18629 [NEW]: Undocumented behavior of arrays"
- Next in thread: goba <email protected>: "[PHP-DOC] #18630 [Opn->Csd]: require_once is case sensitive"
- Reply: goba <email protected>: "[PHP-DOC] #18630 [Opn->Csd]: require_once is case sensitive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

