Bug #78939 [Asn->Opn]: file_exists produces different results with TS and NTS builds

From: Date: Mon, 20 Jan 2020 08:26:04 +0000
Subject: Bug #78939 [Asn->Opn]: file_exists produces different results with TS and NTS builds
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225000@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78939&edit=1 ID: 78939 Updated by: cmb@php.net Reported by: michael dot vorisek at email dot cz Summary: file_exists produces different results with TS and NTS builds -Status: Assigned +Status: Open Type: Bug Package: *Directory/Filesystem functions Operating System: Windows PHP Version: 7.3.12 -Assigned To: cmb +Assigned To: Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2019-12-10 18:14:40] cmb@php.net This may very well be an issue of the PHP implementation. ------------------------------------------------------------------------ [2019-12-10 18:13:31] cmb@php.net The following pull request has been associated: Patch Name: Fix #78939 - Windows relative path with drive letter On GitHub: https://github.com/php/php-src/pull/5001 Patch: https://github.com/php/php-src/pull/5001.patch ------------------------------------------------------------------------ [2019-12-10 14:52:11] fgfgfgfdf at somewhere dot com > PHP currently ignores this fact completely and resolves > relative paths with drive letter like absolute ones PHP resolves nothing, windows does ------------------------------------------------------------------------ [2019-12-10 14:28:21] michael dot vorisek at email dot cz No! I am just reporting, that relative path with drive letter is not resolved correctly. If this path format should be supported, it needs to be resolved like PHP resolve any other relative relative paths. PHP currently ignores this fact completely and resolves relative paths with drive letter like absolute ones. ------------------------------------------------------------------------ [2019-12-10 14:12:07] requinix@php.net And if your expected behavior on Windows is that "C:/x.txt" and "C:/X.TXT" are two different files, you would be equally wrong. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=78939 -- Edit this bug report at https://bugs.php.net/bug.php?id=78939&edit=1

« previous php.bugs (#225000) next »