php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #21403 getimagesize() returns ["mime"], not ["MIME"]
Submitted: 2003-01-03 19:51 UTC Modified: 2003-01-04 04:55 UTC
From: michael dot mauch at gmx dot de Assigned: tularis (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.3.0 OS: All
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: michael dot mauch at gmx dot de
New email:
PHP Version: OS:

 

 [2003-01-03 19:51 UTC] michael dot mauch at gmx dot de
The manual page for getimagesize says:

 Beginning with PHP 4.3, getimagesize() also returns an additional parameter, MIME, ...

Should be:

 Beginning with PHP 4.3, getimagesize() also returns an additional parameter, mime, ...

The example is right, and the other indexes are also written in lowercase, so this should probably be consistent.

Maybe all of these string indexes could be surrounded with quotes, to make sure nobody thinks that these are constants.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-04 04:47 UTC] tularis@php.net
I agree with the fact that it *might* confuse certain people, though it seems to be ok in the example,

as a result, I will modify this in the CVS version of the docs. Which should be recompiled sometime soon.
 [2003-01-04 04:55 UTC] tularis@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, 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/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of tularis
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f9f1a68011841c57903769eeeb0e2e3c5afa797c
Log: Fixed bug #21403
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 04 12:00:03 2025 UTC