[PHP-DEV] brain damage in the gd ext [was: Re: [PHP-DEV] GD version available in script ?]

2002-11-12 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-09-05 20:21:15 +0200: Hello, Working on PEAR::Image_Transform, I realize there is no way to check the currently used gd version. Beside that, gd2 functions are always available (raise warning if wrong gd version), this forces us to make a first call the function

Re: [PHP-DEV] brain damage in the gd ext [was: Re: [PHP-DEV] GD version available in script ?]

2002-11-12 Thread Marcus Börger
You can use constant GD_BUNDLED which is either undefined, 0 or 1. Defined as means the bundeled gd version is used. But i just implemented gd_info(). See below. Tell me please what else do you want do see? marcus [marcus@zaphod php4-HEAD]$ php -r 'var_dump(gd_info()); array(10) { [GD

Re: [PHP-DEV] brain damage in the gd ext [was: Re: [PHP-DEV] GD version available in script ?]

2002-11-12 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-12 12:51:37 +0100: On Tue, 12 Nov 2002, Derick Rethans wrote: On Tue, 12 Nov 2002, Roman Neuhauser wrote: Everyone: the fact that e. g. imagecreatefromgif() exists no matter what, throwing a warning if you have a wrong GD version is IMNSHO