note 20296 added to function.is-dir
| From: | mike at xamo dot com | Date: | Fri, 29 Mar 2002 00:19:19 +0000 |
| Subject: | note 20296 added to function.is-dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28358@lists.php.net to get a copy of this message | ||
is_dir doesn't behave as expected:
if(is_dir("/var/mydir/")===true){
}
// the above does not work, however,
if(is_dir("/var/mydir/")==true){
}
// that works.
--
http://www.php.net/manual/en/function.is-dir.php
http://master.php.net/manage/user-notes.php?action=edit+20296
http://master.php.net/manage/user-notes.php?action=delete+20296
http://master.php.net/manage/user-notes.php?action=reject+20296