Well, I have an array with values:
array("Pasta/Readme.txt", "Pasta/Subpasta/helloworld.mp3", "Pasta-2/screenshot.png");
How do I return an array like this:
array("Pasta" => array("Readme.txt", "Subpasta" => array("helloworld.mp3")), "Pasta-2" => array("screenshot.png"))
Thank you in advance:)