From 119b0621691610531ac57aac1bd2311fe4e33bc5 Mon Sep 17 00:00:00 2001 From: Adam Saponara Date: Tue, 11 Oct 2022 00:58:26 -0400 Subject: [PATCH] Fix GH-9669: phpdbg -h options doesn't list the -z option Adds `-z` flag in phpdbg output. Closes GH-9713. --- NEWS | 3 +++ sapi/phpdbg/phpdbg_help.c | 1 + 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 83c135c862b..f09eaf7e872 100644 --- a/NEWS +++ b/NEWS @@ -38,6 +38,9 @@ PHP NEWS - PCRE: . Mangle PCRE regex cache key with JIT option. (mvorisek) +- PHPDBG: + . Fixed bug GH-9669 (phpdbg -h options doesn't list the -z option). (adsr) + - PDO SQLite: . Fix GH-11492 (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt). (KapitanOczywisty, CViniciusSDias) diff --git a/sapi/phpdbg/phpdbg_help.c b/sapi/phpdbg/phpdbg_help.c index b162c4b39fe..d06fd906d49 100644 --- a/sapi/phpdbg/phpdbg_help.c +++ b/sapi/phpdbg/phpdbg_help.c @@ -398,6 +398,7 @@ phpdbg_help_text_t phpdbg_help_text[] = { " **-s** **-s=**, **-s**=foo Read code to execute from stdin with an optional delimiter" CR " **-S** **-S**cli Override SAPI name, careful!" CR " **-p** **-p**, **-p=func**, **-p* ** Output opcodes and quit" CR +" **-z** **-z**extlib Load Zend extension" CR " **-h** Print the help overview" CR " **-V** Print version number" CR " **--** **--** arg1 arg2 Use to delimit phpdbg arguments and php $argv; append any $argv "