#37971 [NEW]: disk_free_space and disk_total_space return no error
| From: | bx at clansphere dot de | Date: | Fri, 30 Jun 2006 06:43:27 +0000 |
| Subject: | #37971 [NEW]: disk_free_space and disk_total_space return no error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-98970@lists.php.net to get a copy of this message | ||
From: bx at clansphere dot de
Operating system: Windows XP SP2
PHP version: 5.1.4
PHP Bug Type: Directory function related
Bug description: disk_free_space and disk_total_space return no error
Description:
------------
using the functions disk_free_space and disk_total_space doesn't generate
php error messages when the path is not existing.
Reproduce code:
---------------
disk_free_space('/this/path/doesnot/exist/');
Expected result:
----------------
php error message showing the path is not existing
Actual result:
--------------
false returned by function, but no php error
--
Edit bug report at http://bugs.php.net/?id=37971&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37971&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37971&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37971&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37971&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37971&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37971&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37971&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37971&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37971&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37971&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37971&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37971&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37971&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37971&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37971&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37971&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37971&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37971&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37971&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37971&r=mysqlcfg