Open interval version number

Now this is something funny! I wanted to check the version of GD in my development machine. As I was right in the middle of php coding, I just did a quick print_r(gd_info()). And what did I get?


Array
(
    [GD Version] => 2.0 or higher
    [FreeType Support] => 1
    [FreeType Linkage] => with freetype
    [T1Lib Support] => 1
    [GIF Read Support] => 1
    [GIF Create Support] => 1
    [JPG Support] => 1
    [PNG Support] => 1
    [WBMP Support] => 1
    [XPM Support] => 
    [XBM Support] => 
    [JIS-mapped Japanese Font Support] => 
)

hmmm yeah, 2.0 or higher, very useful information! Specially considering it's been in 2.x for years now!

Had to go to Synaptic to exactly determine which version is installed. But I wonder if there's another way of finding out the version without having access to the system's package manager, for example when one is in a shared host and all that?

If anybody knows, please post a comment :-)