summaryrefslogtreecommitdiff
path: root/sapi/phpdbg
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-06-25 11:56:36 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-06-25 11:57:25 +0200
commit0778359223b311d4caf34c549b4309c9d2cae7dd (patch)
tree79c12e28b73a1573b709c227f64227c3f0f73471 /sapi/phpdbg
parentd169d06d307d03ee256e96c92002c08179f12b04 (diff)
parent2458dab466cbc8088a9c5ac4eff3785321ea55c8 (diff)
downloadphp-git-0778359223b311d4caf34c549b4309c9d2cae7dd.tar.gz
Merge branch 'PHP-7.2'
* PHP-7.2: Fix arginfo wrt. optional/required parameters
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r--sapi/phpdbg/phpdbg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index f51ea0001c..ee9cf35822 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -751,16 +751,16 @@ ZEND_BEGIN_ARG_INFO_EX(phpdbg_break_function_arginfo, 0, 0, 1)
ZEND_ARG_INFO(0, function)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(phpdbg_color_arginfo, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(phpdbg_color_arginfo, 0, 0, 2)
ZEND_ARG_INFO(0, element)
ZEND_ARG_INFO(0, color)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(phpdbg_prompt_arginfo, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(phpdbg_prompt_arginfo, 0, 0, 1)
ZEND_ARG_INFO(0, string)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(phpdbg_exec_arginfo, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(phpdbg_exec_arginfo, 0, 0, 1)
ZEND_ARG_INFO(0, context)
ZEND_END_ARG_INFO()