downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DirectoryIterator::isReadable> <DirectoryIterator::isFile
Last updated: Fri, 20 Nov 2009

view this page in



add a note add a note User Contributed Notes
DirectoryIterator::isLink
Rob Pomeroy
20-Nov-2009 05:16
There a typo in the recursive delete function, ironically with the call to isLink (incorrectly written as isSymlink).

The example function fails rather noisily if the directory to be deleted does not exist, so you might want to include a test for existence first.

DirectoryIterator::isReadable> <DirectoryIterator::isFile
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites