Gregwar / Image

A PHP library to handle images
MIT License
1k stars 191 forks source link

directories are skipped while garbage-collecting #155

Open arosslau opened 6 years ago

arosslau commented 6 years ago

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