Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent file counts using PHP via Docker Desktop on WSL2 #6081

Closed
themizzi opened this issue Oct 13, 2020 · 2 comments
Closed

Inconsistent file counts using PHP via Docker Desktop on WSL2 #6081

themizzi opened this issue Oct 13, 2020 · 2 comments

Comments

@themizzi
Copy link

themizzi commented Oct 13, 2020

Environment

Windows 10 Pro
Version 2004
OS build 19041.546
Docker Desktop 2.4.0.0 (48506)
Reproducible on WSL2

Steps to reproduce

Please use this repository: https://github.com/themizzi/wsl2-php-recursive-directory-iterator-bug

git clone https://github.com/themizzi/wsl2-php-recursive-directory-iterator-bug.git
cd wsl2-php-recursive-directory-iterator-bug
docker-compose run php php test.php

WSL logs:

https://aka.ms/AA9ytk1

Expected behavior

File counts remain the same whether using PHP's scandir or RecursiveDirectoryIterator.

Actual behavior

File counts diverge after 65 files.

@therealkenc
Copy link
Collaborator

Taking the PHP folks' analysis this is /dupe #5074.

@ghost
Copy link

ghost commented Oct 13, 2020

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost closed this as completed Oct 13, 2020
@ghost ghost added the duplicate label Oct 13, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants