php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51377 misleading headline in disk_free_space and disk_total_space
Submitted: 2010-03-24 10:08 UTC Modified: 2010-03-24 11:07 UTC
From: theultramage at gmail dot com Assigned: rquadling (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: theultramage at gmail dot com
New email:
PHP Version: OS:

 

 [2010-03-24 10:08 UTC] theultramage at gmail dot com
Description:
------------
http://www.php.net/manual/en/function.disk-free-space.php
http://www.php.net/manual/en/function.disk-total-space.php

These state:
disk_free_space — Returns available space in directory
disk_total_space — Returns the total size of a directory

However, right in the function description they say that the operation will refer to the entire filesystem/partition instead of just the single target directory.

I suggest re-phrasing the headlines to avoid confusion.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-24 11:07 UTC] rquadling@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rquadling
 [2010-03-24 11:07 UTC] rquadling@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.
 [2010-03-24 11:07 UTC] rquadling@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=296698
Log: Corrected titles. Fix bug#51377
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 07:01:33 2025 UTC