Permalink
Browse files

Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  exposing the libxpm version in phpinfo
  • Loading branch information...
2 parents 34eb787 + 5d9fb8f commit 9a99426e802f554237658a5e8e8fe4c91ddf716a @weltling weltling committed Oct 4, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 ext/gd/gd.c
View
@@ -1328,6 +1328,11 @@ PHP_MINFO_FUNCTION(gd)
#endif
#if defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED)
php_info_print_table_row(2, "XPM Support", "enabled");
+ {
+ char tmp[12];
+ snprintf(tmp, sizeof(tmp), "%d", XpmLibraryVersion());
+ php_info_print_table_row(2, "libXpm Version", tmp);
+ }
#endif
#ifdef HAVE_GD_XBM
php_info_print_table_row(2, "XBM Support", "enabled");

0 comments on commit 9a99426

Please sign in to comment.