From d802ce2cbe470fce4d7bdee81d60765b574e1256 Mon Sep 17 00:00:00 2001 From: rryqszq4 Date: Sun, 12 Jan 2025 17:57:29 +0800 Subject: [PATCH] [src] fix --- src/php/impl/php_ngx_core.c | 2 +- src/php/impl/php_ngx_log.c | 2 +- src/php/impl/php_ngx_request.c | 2 +- src/php/impl/php_ngx_socket.c | 2 +- src/php/impl/php_ngx_var.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/php/impl/php_ngx_core.c b/src/php/impl/php_ngx_core.c index 1780231f..df009b83 100644 --- a/src/php/impl/php_ngx_core.c +++ b/src/php/impl/php_ngx_core.c @@ -498,7 +498,7 @@ static const zend_function_entry php_ngx_class_functions[] = { PHP_ME(ngx, query_args, ngx_query_args_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(ngx, post_args, ngx_post_args_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(ngx, sleep, ngx_sleep_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) - {NULL, NULL, NULL, 0, 0} + PHP_FE_END }; void php_impl_ngx_core_init(int module_number ) diff --git a/src/php/impl/php_ngx_log.c b/src/php/impl/php_ngx_log.c index 8586ffc9..5f281771 100644 --- a/src/php/impl/php_ngx_log.c +++ b/src/php/impl/php_ngx_log.c @@ -63,7 +63,7 @@ PHP_METHOD(ngx_log, error) static const zend_function_entry php_ngx_log_class_functions[] = { PHP_ME(ngx_log, error, ngx_log_error_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) - {NULL, NULL, NULL, 0, 0} + PHP_FE_END }; void diff --git a/src/php/impl/php_ngx_request.c b/src/php/impl/php_ngx_request.c index c0154ad1..87084b5e 100644 --- a/src/php/impl/php_ngx_request.c +++ b/src/php/impl/php_ngx_request.c @@ -616,7 +616,7 @@ static const zend_function_entry php_ngx_request_class_functions[] = { PHP_ME(ngx_request, server_port, ngx_request_server_port_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(ngx_request, server_name, ngx_request_server_name_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(ngx_request, headers, ngx_request_headers_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) - {NULL, NULL, NULL, 0, 0} + PHP_FE_END }; void diff --git a/src/php/impl/php_ngx_socket.c b/src/php/impl/php_ngx_socket.c index d8acc883..4608a5e4 100644 --- a/src/php/impl/php_ngx_socket.c +++ b/src/php/impl/php_ngx_socket.c @@ -169,7 +169,7 @@ static const zend_function_entry php_ngx_socket_class_functions[] = { PHP_ME(ngx_socket, send, ngx_socket_send_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(ngx_socket, recv, ngx_socket_recv_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(ngx_socket, close, ngx_socket_close_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) - {NULL, NULL, NULL, 0, 0} + PHP_FE_END }; void diff --git a/src/php/impl/php_ngx_var.c b/src/php/impl/php_ngx_var.c index a1f5e30c..2ec77637 100644 --- a/src/php/impl/php_ngx_var.c +++ b/src/php/impl/php_ngx_var.c @@ -88,7 +88,7 @@ PHP_METHOD(ngx_var, set) static const zend_function_entry php_ngx_var_class_functions[] = { PHP_ME(ngx_var, get, ngx_var_get_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(ngx_var, set, ngx_var_set_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) - {NULL, NULL, NULL, 0, 0} + PHP_FE_END }; void