Skip to content

directories are skipped while garbage-collecting#155

Open
arosslau wants to merge 1 commit intoGregwar:masterfrom
arosslau:patch-1
Open

directories are skipped while garbage-collecting#155
arosslau wants to merge 1 commit intoGregwar:masterfrom
arosslau:patch-1

Conversation

@arosslau
Copy link

A type safe check is necessary, otherwise folders with the names "0" or "f" would be skipped as they would be interpreted as false in the while condition.

http://php.net/manual/de/function.readdir.php

A typesafe check is neccessary, otherwise folders with the names "0" or "f" would be skipped as they would be interpreted as false in the while condition.
http://php.net/manual/de/function.readdir.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant