#20488 [Bgs->Opn]: is_dir(), Warning: Unable ...
| From: | philip@php.net | Date: | Mon, 02 Dec 2002 00:00:55 +0000 |
| Subject: | #20488 [Bgs->Opn]: is_dir(), Warning: Unable ... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26332@lists.php.net to get a copy of this message | ||
ID: 20488
Updated by: philip@php.net
Reported By: half-dead@nospam.net
-Status: Bogus
+Status: Open
Bug Type: Directory function related
Operating System: winME
PHP Version: 4.2.3
New Comment:
I don't get it. Someone reports a bug, it's tested in latest PHP
version as asked, problem still exists ... and now it's marked as
bogus?
Why doesn't this simply return boolean false? Where is this behavior
documented? Reopening...
Previous Comments:
------------------------------------------------------------------------
[2002-12-01 16:35:43] sniper@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
------------------------------------------------------------------------
[2002-11-18 16:52:58] half-dead@nospam.net
Nope not in safe mode at least, now i simply get a ref to the php doc
page with the warning (4.3RC1):
is_dir("non existing directory...");
Warning: is_dir() [http://www.php.net/function.is-dir]: Unable to
access "non existing directory..." in "whatever.php" on line "xx"
--------
Again, this only happens if safe mode is turned ON
------------------------------------------------------------------------
[2002-11-18 16:03:08] derick@php.net
Okay, it looks like this is fixed in CVS. Can you try the windows
snapshot @ http://snaps.php.net/~edink/php-4.3.0RC1-Win32.zip
?
Derick
------------------------------------------------------------------------
[2002-11-18 15:56:09] half-dead@nospam.net
is_dir("nonexisten directory.....");
result:
Warning: Unable to access "nonexisten directory....." in "whatever.php"
on line "xx"
------------------------------------------------------------------------
[2002-11-18 15:53:08] derick@php.net
What is the full error message?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20488
--
Edit this bug report at http://bugs.php.net/?id=20488&edit=1