View Issue Details

IDProjectCategoryView StatusLast Update
0037318mantisbtcode cleanuppublic2026-07-20 12:40
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytweakReproducibilityhave not tried
Status assignedResolutionopen 
Target Version2.29.0 
Summary0037318: get_gd_version() should return the complete version number
Description

Currently, the function is returning the major GD version as an int (1 or 2) based on the presence of imagegd2(), or GD if the extension is not available.

This is a legacy from early PHP 4 days, when gd_info() did not exist (it was introduced in PHP 4.3.0).

We should simply call gd_info() and return the actual version number.

TagsNo tags attached.

Activities

There are no notes attached to this issue.