Merge pull request #13687 from ZhouyihaiDing/php_info

PHP: php_info add grpc version
pull/13820/head
Stanley Cheung 7 years ago committed by GitHub
commit a1f94b7c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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