1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4' into PHP-8.5

* PHP-8.4:
  sapi/phpdbg: use 'h' ZPP specifier instead of'H'
This commit is contained in:
Gina Peter Banyard
2025-11-13 01:31:59 +00:00
2 changed files with 6 additions and 2 deletions

4
NEWS
View File

@@ -22,6 +22,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)

View File

@@ -493,7 +493,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();
}
@@ -587,7 +587,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();
}