Hi Stas,

Doesn't PATH_SEPARATOR use DEFAULT_SLASH?

Should be DIRECTORY_SEPARATOR

Bleh, must be nearly switching-off time

and it's "\" on windows (PATH_SEPARATOR is ";" ). Do you propose to change it to "/"?

dirsep_str[0] = DEFAULT_SLASH;
dirsep_str[1] = '\0';
REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", dirsep_str, CONST_CS|CONST_PERSISTENT);

Path comparison is important.

I thought so too until I couldn't find any broken tests.

With all due respect to phpt, these are very primitive code samples testing very narrow functional areas. They do not come anywhere near the stuff people do in real-life apps, combining different functions and extensions.

Fair point. I like Marcus' idea tho'.

- Steph


--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to