#45411 [Opn]: getimagesize returns 6 instead of 5 values in array
| From: | lars at xaospage dot de | Date: | Tue, 01 Jul 2008 21:37:45 +0000 |
| Subject: | #45411 [Opn]: getimagesize returns 6 instead of 5 values in array | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-920@lists.php.net to get a copy of this message | ||
ID: 45411
User updated by: lars at xaospage dot de
Reported By: lars at xaospage dot de
Status: Open
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
Typo, 7 values are in the array (0,1,2,3,bits,channels,mime)
Previous Comments:
------------------------------------------------------------------------
[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