From:             [EMAIL PROTECTED]
Operating system: Compaq Tru64
PHP version:      4CVS-2002-07-31
PHP Bug Type:     Documentation problem
Bug description:  extendet functionality of getimagesize with php4.3.0?

When testing getimagesize with php 4.2.2 I get these results:

(
    [0] => 194
    [1] => 54
    [2] => 1
    [3] => width="194" height="54"
)
Array
(
    [0] => 280
    [1] => 231
    [2] => 2
    [3] => width="280" height="231"
    [bits] => 8
    [channels] => 3
)

With PHP 4.3.0-dev I get these results:

Array
(
    [0] => 194
    [1] => 54
    [2] => 1
    [3] => width="194" height="54"
    [bits] => 8
    [channels] => 3
    [mime] => image/gif
)
Array
(
    [0] => 280
    [1] => 231
    [2] => 2
    [3] => width="280" height="231"
    [bits] => 8
    [channels] => 3
    [mime] => image/jpeg
)

If this an expected result, it should be documented. If 4.2.0 simply has a
bug consider it as closed ;)

-- 
Edit bug report at http://bugs.php.net/?id=18666&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=18666&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=18666&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=18666&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=18666&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18666&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=18666&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=18666&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=18666&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=18666&r=globals


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to