aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php
diff options
context:
space:
mode:
authorGravatar ZhouyihaiDing <ddyihai@google.com>2017-12-08 09:49:55 -0800
committerGravatar ZhouyihaiDing <ddyihai@google.com>2017-12-08 09:49:55 -0800
commite2af6d9985e8a323516e644a04468dca47b5e8fd (patch)
tree70d0cffb5360beda136f3ba585b98e1756015a7d /src/php
parenta3df36cc2505a89c2f481eea4a66a87b3002844a (diff)
php_info add grpc version
Diffstat (limited to 'src/php')
-rw-r--r--src/php/ext/grpc/php_grpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/php/ext/grpc/php_grpc.c b/src/php/ext/grpc/php_grpc.c
index 0f2c5b8114..5971babc00 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