php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51054 UPLOAD_ERR_EXTENSION documentation unclear
Submitted: 2010-02-16 07:16 UTC Modified: 2010-02-16 07:28 UTC
From: aharvey@php.net Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2010-02-16 07:16 UTC] aharvey@php.net
Description:
------------
The documentation for the UPLOAD_ERR_EXTENSION file upload error is 
rather unclear and can imply that the upload failed due to the file 
extension, which is incorrect.


Suggested (terse) rewording:

Value: 8; A PHP extension stopped the file upload. Introduced in PHP 
5.2.0.


A more verbose rewording (albeit one that might muddy the waters more 
than it helps):

Value: 8; A PHP extension stopped the file upload. PHP does not 
provide a way to ascertain which extension caused the file upload to 
stop; examining the list of loaded extensions with phpinfo() may help. 
Introduced in PHP 5.2.0.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-16 07:27 UTC] svn@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=295140
Log: Fixed bug #51054 (UPLOAD_ERR_EXTENSION documentation unclear)
 [2010-02-16 07:28 UTC] kalle@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.

I reworded the documentation with your text
 [2020-02-07 06:09 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=eb6c01ef2a2332f99065e5f7dda9e4af81323db5
Log: Fixed bug #51054 (UPLOAD_ERR_EXTENSION documentation unclear)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 13:00:02 2026 UTC