note 94726 deleted from directoryiterator.islink by danbrown

From: Date: Fri, 20 Nov 2009 17:17:01 +0000
Subject: note 94726 deleted from directoryiterator.islink by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163131@lists.php.net to get a copy of this message
Note Submitter: Rob Pomeroy ---- 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.

« previous php.notes (#163131) next »