> It's not 'nix you want to worry about, but systems where : identifies > a drive or device; win32, vms (?), (and Amiga, if that still counts :) > Doi, drive letters....
So yeah that can be worked around with a: #ifdef PHP_WIN32 if (p = path+1 && isalpha(*path) && (*p == '/' || *p == '\\')) { /* win32 drive */ } #endif But then you've also got the ADS workaround: #ifdef PHP_WIN32 { char *q; for(q = p + 1; isnum(*q); q++); if (!*q) { /* filename with ADS identifier */ } } #endif > Could be more trouble than its worth, BC wise. > And god knows what else for other platforms which give ':' meaning. It comes down to "How ugly does one want to get?". -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php