This reminds me: don't we want to remove those code elements:

    #ifdef HAVE_WHATEVER_GD_FEATURE
        doit
    #else
        php_error(E_WARNIGN, "not supported in this buil"
    #endif

    so finally "function_exists" makes sense here. I'ld like to
    see this happening before 4.3 ....

    reasonable or not? Maybe I miss something ...

    - Markus

On Fri, Jun 21, 2002 at 07:57:41PM -0000, [EMAIL PROTECTED] wrote : 
>  ID:               17912
>  Updated by:       [EMAIL PROTECTED]
>  Reported By:      [EMAIL PROTECTED]
> -Status:           Open
> +Status:           Bogus
>  Bug Type:         GD related
>  Operating System: linux debian/mandrake
>  PHP Version:      4.2.1
>  New Comment:
> 
> phpinfo() does show the GD version.  Between versions 1.6 and 1.8 there
> was no way to distinguish, so it is approximate, but other versions
> should be shown just fine.  As for figuring out which image types are
> available, use imagetypes()
> 
> 
> Previous Comments:
> ------------------------------------------------------------------------
> 
> [2002-06-21 15:54:39] [EMAIL PROTECTED]
> 
> im having trouble determinating to which version of GD gd.so was linked
> to, phpinfo() only shows the acctual version of gd.so, but not the
> version of GD it was linked to..
> 
> some variable to show the acctual gd version (major and minor) would be
> nice, so i and other people would know how to dynamically use image*
> functions according to that variable, because setting up each server
> with platform-dependant code is a bit time consuming, and coding two
> different image libraries or graphing libraries which use GD is also a
> waste of time, if just a few functions change their names and
> behaviour.
> 
> example would be..
> 
> if ($GD_VERSION=='1') {
>   imagecopyresized(...);
> } else {
>   imagecopyresampled(...);
> }
> 
> be a sweetheart and add that :* (otherwise excelent work)
> 
> ------------------------------------------------------------------------
> 
> 
> -- 
> Edit this bug report at http://bugs.php.net/?id=17912&edit=1

-- 
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
Did I help you?    http://guru.josefine.at/wish_en
Konnte ich helfen? http://guru.josefine.at/wish_de
"uhmm.. the dates in the bug db.. aren't they printed a bit wrong, i mean, did
i miss when we changed to 53 days/month ( +2002-02-53) ? =P - N0v3ll

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to