diff --git a/NEWS b/NEWS index c31c390cb4a..6b866f2ec35 100644 --- a/NEWS +++ b/NEWS @@ -26,6 +26,10 @@ PHP NEWS . Fixed bug GH-20442 (Phar does not respect case-insensitiveness of __halt_compiler() when reading stub). (ndossche, TimWolla) +- PHPDBG: + . Fixed ZPP type violation in phpdbg_get_executable() and phpdbg_end_oplog(). + (Girgias) + - Standard: . Fix memory leak in array_diff() with custom type checks. (ndossche) diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 49a3d00ffb2..58efd8e554c 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -492,7 +492,7 @@ PHP_FUNCTION(phpdbg_get_executable) HashTable *files = &PHPDBG_G(file_sources); HashTable files_tmp; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "|H", &options) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "|h", &options) == FAILURE) { RETURN_THROWS(); } @@ -586,7 +586,7 @@ PHP_FUNCTION(phpdbg_end_oplog) bool by_function = false; bool by_opcode = false; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "|H", &options) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "|h", &options) == FAILURE) { RETURN_THROWS(); }