php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #18666 extendet functionality of getimagesize with php4.3.0?
Submitted: 2002-07-31 09:02 UTC Modified: 2002-08-03 09:18 UTC
From: nohn@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4CVS-2002-07-31 OS: Compaq Tru64
Private report: No CVE-ID: None
 [2002-07-31 09:02 UTC] nohn@php.net
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 ;)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-03 09:18 UTC] helly@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version 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.
Thank you for the report, and for helping us make PHP better.

This is documented already
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 18:01:29 2024 UTC