#45411 [NEW]: getimagesize returns 6 instead of 5 values in array
| From: | lars at xaospage dot de | Date: | Tue, 01 Jul 2008 21:36:11 +0000 |
| Subject: | #45411 [NEW]: getimagesize returns 6 instead of 5 values in array | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-919@lists.php.net to get a copy of this message | ||
From: lars at xaospage dot de
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: getimagesize returns 6 instead of 5 values in array
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 bug report at http://bugs.php.net/?id=45411&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45411&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45411&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45411&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45411&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=45411&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45411&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45411&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45411&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45411&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45411&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=45411&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=45411&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45411&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45411&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45411&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45411&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45411&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45411&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45411&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45411&r=mysqlcfg