php_info add grpc version

pull/13687/head
ZhouyihaiDing 7 years ago
parent a3df36cc25
commit e2af6d9985
  1. 3
      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

Loading…
Cancel
Save