Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Andi Gutmans
Very strange. We do a GetLongPathName() in virtual_file_ex() which opens the file. Can you see if it's reach that piece of code? Andi At 02:55 PM 7/19/2004 +0200, Michele Locati wrote: There's another thing you should note: under Windows it is possible to specify file names in two ways: in the e

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Paul G
- Original Message - From: "Stanislav Malyshev" <[EMAIL PROTECTED]> To: "Michele Locati" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 19, 2004 8:55 AM Subject: Re: [PHP-DEV] Case sensitivity of require_once > ML>>There&#x

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Wez Furlong
I think we're already using it in TSRM in PHP 5, which is why I asked for someone to confirm it there. --Wez. On Mon, 19 Jul 2004 15:55:58 +0300 (IDT), Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > ML>>There's another thing you should note: under Windows it is possible to > ML>>specify file nam

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Stanislav Malyshev
ML>>There's another thing you should note: under Windows it is possible to ML>>specify file names in two ways: in the expanded (normal) way, and in a ML>>short way (8.3 file naming compatible). I think there's a function in Win32 API which brings all these forms to common base. -- Stanislav Ma

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Michele Locati
There's another thing you should note: under Windows it is possible to specify file names in two ways: in the expanded (normal) way, and in a short way (8.3 file naming compatible). For example: C:\Program Files\SomeFileName.ext could be specified also as C:\PROGRA~1\SOMEFI~1.EX

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Antony Dovgal
On Mon, 19 Jul 2004 14:45:12 +0200 Jakub Vrana <[EMAIL PROTECTED]> wrote: > Wez Furlong wrote: > > Did you test require_once under PHP 5 yet? > > (without your patch) > This behavior is PHP 4 specific. > > Antony Dovgal wrote: > > http://lists.php.net/php.doc/969361918 > The problem is not that t

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Jakub Vrana
Wez Furlong wrote: > Did you test require_once under PHP 5 yet? > (without your patch) This behavior is PHP 4 specific. Antony Dovgal wrote: > http://lists.php.net/php.doc/969361918 The problem is not that the file isn't included at all. The problem is that the file is included twice. Jakub Vrana

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Antony Dovgal
On Mon, 19 Jul 2004 11:12:58 +0100 Wez Furlong <[EMAIL PROTECTED]> wrote: > Did you test require_once under PHP 5 yet? > (without your patch) Yep. http://lists.php.net/php.doc/969361918 --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] || [EMAIL PROTECTED] -- PHP Internals - PHP Runtime De

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Wez Furlong
Did you test require_once under PHP 5 yet? (without your patch) --Wez. On Mon, 19 Jul 2004 10:56:02 +0200, Jakub Vrana <[EMAIL PROTECTED]> wrote: > File a.php is required twice with this code on Windows: > require_once "a.php"; > require_once "A.php"; > ?> > > Should I document this behavior or

[PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Jakub Vrana
File a.php is required twice with this code on Windows: Should I document this behavior or should patch similar to this be applied? Index: zend_execute.c === RCS file: /repository/Zend/Attic/zend_execute.c,v retrieving revision 1.31