#45411 [Opn->Csd]: getimagesize returns 6 instead of 5 values in array
| From: | rquadling@php.net | Date: | Wed, 02 Jul 2008 10:41:06 +0000 |
| Subject: | #45411 [Opn->Csd]: getimagesize returns 6 instead of 5 values in array | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-925@lists.php.net to get a copy of this message | ||
ID: 45411
Updated by: rquadling@php.net
Reported By: lars at xaospage dot de
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2008-07-01 21:37:45] lars at xaospage dot de
Typo, 7 values are in the array (0,1,2,3,bits,channels,mime)
------------------------------------------------------------------------
[2008-07-01 21:36:11] lars at xaospage dot de
Description:
------------
Docu says:
http://de3.php.net/manual/en/function.getimagesize.php
"Return Values
Returns an array with 5 elements."
Reproduce code:
---------------
I have 6 ;)
array(7) {
[0]=>
int(61)
[1]=>
int(74)
[2]=>
int(2)
[3]=>
string(22) "width="61" height="74""
["bits"]=>
int(8)
["channels"]=>
int(3)
["mime"]=>
string(10) "image/jpeg"
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45411&edit=1