We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e7710c + c1c3bcc commit 1172147Copy full SHA for 1172147
NEWS
@@ -17,6 +17,9 @@ PHP NEWS
17
. Fixed bug GH-20668 (\Uri\WhatWg\Url::withHost() crashes (SEGV) for URLs
18
using the file: scheme). (lexborisov)
19
20
+- Standard:
21
+ . Fix error check for proc_open() command. (ndossche)
22
+
23
18 Dec 2025, PHP 8.5.1
24
25
- Core:
ext/standard/proc_open.c
@@ -503,7 +503,7 @@ typedef struct _descriptorspec_item {
503
} descriptorspec_item;
504
505
static zend_string *get_valid_arg_string(zval *zv, uint32_t elem_num) {
506
- zend_string *str = zval_get_string(zv);
+ zend_string *str = zval_try_get_string(zv);
507
if (!str) {
508
return NULL;
509
}
0 commit comments