Skip to content

Commit 271995d

Browse files
authored
uri: Show the uriparser runtime version in PHPInfo (php#19718)
1 parent a4bb5b9 commit 271995d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/uri/php_uri.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,8 +1061,9 @@ static PHP_MINIT_FUNCTION(uri)
10611061
static PHP_MINFO_FUNCTION(uri)
10621062
{
10631063
php_info_print_table_start();
1064-
php_info_print_table_row(2, "uri support", "active");
1065-
php_info_print_table_row(2, "uriparser library version", URI_VER_ANSI);
1064+
php_info_print_table_row(2, "URI support", "active");
1065+
php_info_print_table_row(2, "uriparser compiled version", URI_VER_ANSI);
1066+
php_info_print_table_row(2, "uriparser loaded version", uriBaseRuntimeVersionA());
10661067
php_info_print_table_end();
10671068
}
10681069

0 commit comments

Comments
 (0)