note 94726 added to directoryiterator.islink
| From: | RobPomeroy at osu1 dot php dot net | Date: | Fri, 20 Nov 2009 16:16:28 +0000 |
| Subject: | note 94726 added to directoryiterator.islink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163127@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 88.97.9.103
----
Manual Page -- http://www.php.net/manual/en/directoryiterator.islink.php
Edit -- https://master.php.net/note/edit/94726
Del: integrated -- https://master.php.net/note/delete/94726/integrated
Del: useless -- https://master.php.net/note/delete/94726/useless
Del: bad code -- https://master.php.net/note/delete/94726/bad+code
Del: spam -- https://master.php.net/note/delete/94726/spam
Del: non-english -- https://master.php.net/note/delete/94726/non-english
Del: in docs -- https://master.php.net/note/delete/94726/in+docs
Del: other reasons-- https://master.php.net/note/delete/94726
Reject -- https://master.php.net/note/reject/94726
Search -- https://master.php.net/manage/user-notes.php