note 64136 added to function.mkdir
| From: | jamespilcher1hotmail at osu1 dot php dot net | Date: | Sat, 08 Apr 2006 12:53:00 +0000 |
| Subject: | note 64136 added to function.mkdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107558@lists.php.net to get a copy of this message | ||
one small gotcha:
mkdir(""), mkdir(false), and mkdir(null) give a "file exists" error. this is
also true of a directory name consisting of any string that only contains space characters.
(this was on php 5.1.2 on Windows 2000)
----
Server IP: 84.18.202.180
Probable Submitter: 88.105.183.165
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mkdir.php
Edit -- http://master.php.net/note/edit/64136
Del: integrated -- http://master.php.net/note/delete/64136/integrated
Del: useless -- http://master.php.net/note/delete/64136/useless
Del: bad code -- http://master.php.net/note/delete/64136/bad+code
Del: spam -- http://master.php.net/note/delete/64136/spam
Del: non-english -- http://master.php.net/note/delete/64136/non-english
Del: in docs -- http://master.php.net/note/delete/64136/in+docs
Del: other reasons-- http://master.php.net/note/delete/64136
Reject -- http://master.php.net/note/reject/64136
Search -- http://master.php.net/manage/user-notes.php