PHP - Manual: Windows 支持
2024-12-21
File descriptors are opened in shared read/write/delete mode by default. This effectively maps the POSIX semantics and allows to delete files with handles in use. It is not 100% same, some platform differences still persist. After the deletion, the filename entry is blocked, until all the opened handles to it are closed.
官方地址:https://www.php.net/manual/en/migration73.windows-support.php