Skip to content

Commit

Permalink
report extension and python version
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Aug 20, 2024
1 parent 2c7b7a9 commit b3159e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phpy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "php.h"
#include "ext/standard/info.h"
#include "php_phpy.h"
#include <patchlevel.h>

/* {{{ PHP_RINIT_FUNCTION */
PHP_RINIT_FUNCTION(phpy)
Expand All @@ -31,7 +32,8 @@ PHP_MINFO_FUNCTION(phpy)
php_info_print_table_row(2, "Copyright", "上海识沃网络科技有限公司");
php_info_print_table_row(2, "Email", "[email protected]");
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();
}
/* }}} */
Expand Down

0 comments on commit b3159e9

Please sign in to comment.