summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-05-14 13:31:52 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-05-14 13:35:12 +0200
commit68527a7834eec98dc33af2fe053c31ce64e745c6 (patch)
tree5694ae624bddc1515889f85b4db2375de92139b4 /sapi/phpdbg/phpdbg_arginfo.h
parent161ee110bf6a0abb673cdf7429868be62236207d (diff)
downloadphp-git-68527a7834eec98dc33af2fe053c31ce64e745c6.tar.gz
Add stubs for some SAPIs
For apache2handler, fpm, litespeed, phpdbg, specifically. Partially implements GH-5295
Diffstat (limited to 'sapi/phpdbg/phpdbg_arginfo.h')
-rw-r--r--sapi/phpdbg/phpdbg_arginfo.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_arginfo.h b/sapi/phpdbg/phpdbg_arginfo.h
index 793d26f064..c3e91fdab2 100644
--- a/sapi/phpdbg/phpdbg_arginfo.h
+++ b/sapi/phpdbg/phpdbg_arginfo.h
@@ -41,3 +41,32 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phpdbg_get_executable, 0, 0, IS_ARRAY, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()
+
+
+ZEND_FUNCTION(phpdbg_break_next);
+ZEND_FUNCTION(phpdbg_break_file);
+ZEND_FUNCTION(phpdbg_break_method);
+ZEND_FUNCTION(phpdbg_break_function);
+ZEND_FUNCTION(phpdbg_color);
+ZEND_FUNCTION(phpdbg_prompt);
+ZEND_FUNCTION(phpdbg_exec);
+ZEND_FUNCTION(phpdbg_clear);
+ZEND_FUNCTION(phpdbg_start_oplog);
+ZEND_FUNCTION(phpdbg_end_oplog);
+ZEND_FUNCTION(phpdbg_get_executable);
+
+
+static const zend_function_entry ext_functions[] = {
+ ZEND_FE(phpdbg_break_next, arginfo_phpdbg_break_next)
+ ZEND_FE(phpdbg_break_file, arginfo_phpdbg_break_file)
+ ZEND_FE(phpdbg_break_method, arginfo_phpdbg_break_method)
+ ZEND_FE(phpdbg_break_function, arginfo_phpdbg_break_function)
+ ZEND_FE(phpdbg_color, arginfo_phpdbg_color)
+ ZEND_FE(phpdbg_prompt, arginfo_phpdbg_prompt)
+ ZEND_FE(phpdbg_exec, arginfo_phpdbg_exec)
+ ZEND_FE(phpdbg_clear, arginfo_phpdbg_clear)
+ ZEND_FE(phpdbg_start_oplog, arginfo_phpdbg_start_oplog)
+ ZEND_FE(phpdbg_end_oplog, arginfo_phpdbg_end_oplog)
+ ZEND_FE(phpdbg_get_executable, arginfo_phpdbg_get_executable)
+ ZEND_FE_END
+};