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:
  standard: Fix error check for proc_open() command
This commit is contained in:
Niels Dossche
2025-12-13 11:59:13 +01:00
2 changed files with 4 additions and 1 deletions

3
NEWS
View File

@@ -17,6 +17,9 @@ PHP NEWS
. Fixed bug GH-20668 (\Uri\WhatWg\Url::withHost() crashes (SEGV) for URLs
using the file: scheme). (lexborisov)
- Standard:
. Fix error check for proc_open() command. (ndossche)
18 Dec 2025, PHP 8.5.1
- Core:

View File

@@ -503,7 +503,7 @@ typedef struct _descriptorspec_item {
} descriptorspec_item;
static zend_string *get_valid_arg_string(zval *zv, uint32_t elem_num) {
zend_string *str = zval_get_string(zv);
zend_string *str = zval_try_get_string(zv);
if (!str) {
return NULL;
}