Skip to content

Commit 6cf8c80

Browse files
committed
add extension version in phpinfo
1 parent fa8ea63 commit 6cf8c80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mcrypt.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,8 @@ PHP_MINFO_FUNCTION(mcrypt) /* {{{ */
480480
php_info_print_table_start();
481481
php_info_print_table_header(2, "mcrypt support", "enabled");
482482
php_info_print_table_header(2, "mcrypt_filter support", "enabled");
483-
php_info_print_table_row(2, "Version", LIBMCRYPT_VERSION);
483+
php_info_print_table_row(2, "Extension version", PHP_MCRYPT_VERSION);
484+
php_info_print_table_row(2, "Library version", LIBMCRYPT_VERSION);
484485
php_info_print_table_row(2, "Api No", mcrypt_api_no);
485486
php_info_print_table_row(2, "Supported ciphers", ZSTR_VAL(tmp1.s));
486487
php_info_print_table_row(2, "Supported modes", ZSTR_VAL(tmp2.s));

0 commit comments

Comments
 (0)