Skip to content

Commit d5494d5

Browse files
committed
Merge branch 'PHP-5.4'
* PHP-5.4: exposing the libxpm version in phpinfo 5.4.9-dev Conflicts: NEWS configure.in main/php_version.h
2 parents 713a3fc + 9a99426 commit d5494d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/gd/gd.c

+5
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,11 @@ PHP_MINFO_FUNCTION(gd)
13281328
#endif
13291329
#if defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED)
13301330
php_info_print_table_row(2, "XPM Support", "enabled");
1331+
{
1332+
char tmp[12];
1333+
snprintf(tmp, sizeof(tmp), "%d", XpmLibraryVersion());
1334+
php_info_print_table_row(2, "libXpm Version", tmp);
1335+
}
13311336
#endif
13321337
#ifdef HAVE_GD_XBM
13331338
php_info_print_table_row(2, "XBM Support", "enabled");

0 commit comments

Comments
 (0)