php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60036 file_uploads described as "boolean" yet "...value is measured in bytes"
Submitted: 2011-10-10 23:14 UTC Modified: 2011-11-01 22:21 UTC
From: ronnystalker at gmail dot com Assigned: salathe (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: ronnystalker at gmail dot com
New email:
PHP Version: OS:

 

 [2011-10-10 23:14 UTC] ronnystalker at gmail dot com
Description:
------------
Whilst viewing the documentation for the "file_uploads" directive at:
* http://php.net/manual/en/ini.core.php#ini.file-uploads

I noticed that the description is contradictory:

---------

file_uploads *boolean*

...*When an integer is used, the value is measured in bytes.*

---------

This does not make sense.

If it *is* boolean - then the following sentence should be removed from its description:

"When an integer is used, the value is measured in bytes. Shorthand notation, as described in this FAQ, may also be used."

If it is an integer type. Then the word:
"boolean"

should be changed to
"integer"




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-01 22:17 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=318663
Log: file_uploads can be integer (doc #60036)
 [2011-11-01 22:21 UTC] salathe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2011-11-01 22:21 UTC] salathe@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Now says, "file_uploads boolean or integer".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 16:01:28 2025 UTC