Problem Description
I wonder, what's the easiest way to delete a directory with all its files in it?
I'm using `rmdir(PATH . '/' . $value);` to delete a folder, however, if there are files inside of it, I simply can't delete it.
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?