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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 19:01:32 2024 UTC