-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When creating a Path from a string containing the Windows extended-length prefix \\?\, it should be automatically stripped during normalization.
Example
$path = Path::create('\\?\D:\git\project\src\File.php');
echo (string) $path;
// Expected: 'D:/git/project/src/File.php'Why this happens
This prefix is returned by external tools (Rust, Go, .NET) that use Windows API for path canonicalization. It allows paths longer than 260 chars but is rarely needed in PHP.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels