PHP Folder to Text

<?php
foreach (glob(dirname(__FILE__) . '/lib/classes/*/') as $classfilename) {
    var_dump($classfilename);
}