From b3159e9d7d6ed9104246f183a3bad07e6cdfe187 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 20 Aug 2024 11:15:45 +0200 Subject: [PATCH] report extension and python version --- phpy.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpy.cc b/phpy.cc index 0690a0a..20f42b8 100644 --- a/phpy.cc +++ b/phpy.cc @@ -7,6 +7,7 @@ #include "php.h" #include "ext/standard/info.h" #include "php_phpy.h" +#include /* {{{ PHP_RINIT_FUNCTION */ PHP_RINIT_FUNCTION(phpy) @@ -31,7 +32,8 @@ PHP_MINFO_FUNCTION(phpy) php_info_print_table_row(2, "Copyright", "上海识沃网络科技有限公司"); php_info_print_table_row(2, "Email", "service@swoole.com"); php_info_print_table_row(2, "Website", "https://www.swoole.com/"); - php_info_print_table_row(2, "Version", PHP_PHPY_VERSION); + php_info_print_table_row(2, "Extension Version", PHP_PHPY_VERSION); + php_info_print_table_row(2, "Python Version", PY_VERSION); php_info_print_table_end(); } /* }}} */