summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-03-25 11:53:06 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-07-10 14:20:18 +0200
commitf328594072136b243c83ee8d70f81332f84e87da (patch)
tree2cdf7961f83f9d6a2a489d61407d838822ba24fe /sapi/cli/php_cli.c
parentdb43a93fc2c5b2f3f2e9eeca70803710afd59850 (diff)
downloadphp-git-f328594072136b243c83ee8d70f81332f84e87da.tar.gz
Add stubs for SAPIs
Closes GH-5295.
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 9972b0f7a7..845312e9c6 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -54,6 +54,7 @@
#include "php_main.h"
#include "fopen_wrappers.h"
#include "ext/standard/php_standard.h"
+#include "ext/standard/dl_arginfo.h"
#include "cli.h"
#ifdef PHP_WIN32
#include <io.h>
@@ -78,6 +79,7 @@
#include "ps_title.h"
#include "php_cli_process_title.h"
+#include "php_cli_process_title_arginfo.h"
#ifndef PHP_WIN32
# define php_select(m, r, w, e, t) select(m, r, w, e, t)
@@ -457,12 +459,6 @@ static sapi_module_struct cli_sapi_module = {
};
/* }}} */
-/* {{{ arginfo ext/standard/dl.c */
-ZEND_BEGIN_ARG_INFO(arginfo_dl, 0)
- ZEND_ARG_INFO(0, extension_filename)
-ZEND_END_ARG_INFO()
-/* }}} */
-
static const zend_function_entry additional_functions[] = {
ZEND_FE(dl, arginfo_dl)
PHP_FE(cli_set_process_title, arginfo_cli_set_process_title)