Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zend-loader] fix failing Zend_Loader_PluginLoaderTest on windows (#154)
on php versions lower than 7.4, `file_get_contents` on `flock`-ed file returned empty string on Windows starting php 7.4, it throws an error "file_get_contents(): read of 8192 bytes failed with errno=13 Permission denied" see https://bugs.php.net/bug.php?id=79398 On windows, file lock needs to be released before reading file contents, even if it's within the same process.
- Loading branch information