Skip to content

Commit 3b68df2

Browse files
committed
Add note to UPGRADING about proc_open changes for invalid command
Closes GH-12589
1 parent a687465 commit 3b68df2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADING

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,11 @@ PHP 8.3 UPGRADE NOTES
363363
. password_hash() will now chain the underlying Random\RandomException
364364
as the ValueError’s $previous Exception when salt generation fails.
365365
. proc_open() $command array must now have at least one non empty element.
366+
. proc_open() returns false if $command array is invalid command instead of
367+
resource object that produces warning later. This was already the case for
368+
Windows but it is now also the case if posix_spawn implementation is in use
369+
(most Linux, BSD and MacOS platforms). There are still some old platforms
370+
where this behavior is not changed as posix_spawn is not supported there.
366371
. array_sum() and array_product() now warn when values in the array cannot
367372
be converted to int/float. Previously arrays and objects where ignored
368373
whilst every other value was cast to int. Moreover, objects that define

0 commit comments

Comments
 (0)