From e2af6d9985e8a323516e644a04468dca47b5e8fd Mon Sep 17 00:00:00 2001 From: ZhouyihaiDing Date: Fri, 8 Dec 2017 09:49:55 -0800 Subject: [PATCH] php_info add grpc version --- src/php/ext/grpc/php_grpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/php/ext/grpc/php_grpc.c b/src/php/ext/grpc/php_grpc.c index 0f2c5b8114c..5971babc00e 100644 --- a/src/php/ext/grpc/php_grpc.c +++ b/src/php/ext/grpc/php_grpc.c @@ -253,7 +253,8 @@ PHP_MSHUTDOWN_FUNCTION(grpc) { */ PHP_MINFO_FUNCTION(grpc) { php_info_print_table_start(); - php_info_print_table_header(2, "grpc support", "enabled"); + php_info_print_table_row(2, "grpc support", "enabled"); + php_info_print_table_row(2, "grpc module version", PHP_GRPC_VERSION); php_info_print_table_end(); /* Remove comments if you have entries in php.ini