mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
add minfo
This commit is contained in:
parent
7f026cf1b2
commit
7e8d837719
8
php_uv.c
8
php_uv.c
@ -5090,7 +5090,15 @@ static zend_function_entry uv_functions[] = {
|
|||||||
|
|
||||||
PHP_MINFO_FUNCTION(uv)
|
PHP_MINFO_FUNCTION(uv)
|
||||||
{
|
{
|
||||||
|
char uv_version[20];
|
||||||
|
sprintf(uv_version, "%d.%d",UV_VERSION_MAJOR, UV_VERSION_MINOR);
|
||||||
|
|
||||||
php_printf("PHP libuv Extension\n");
|
php_printf("PHP libuv Extension\n");
|
||||||
|
php_info_print_table_start();
|
||||||
|
php_info_print_table_header(2,"libuv Support", "enabled");
|
||||||
|
php_info_print_table_row(2,"Version", PHP_UV_EXTVER);
|
||||||
|
php_info_print_table_row(2,"bundled libuv Version", uv_version);
|
||||||
|
php_info_print_table_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
zend_module_entry uv_module_entry = {
|
zend_module_entry uv_module_entry = {
|
||||||
|
Loading…
Reference in New Issue
Block a user