Skip to content

Commit c97e105

Browse files
committed
exec_pcntl() always return false
1 parent 0bfdb71 commit c97e105

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ PHP 8.5 UPGRADE NOTES
9797
gzfile, gzopen and readgzfile functions had been changed
9898
from int to boolean.
9999

100+
- PCNTL:
101+
. pcntl_exec() now has a formal return type of false.
102+
100103
- PDO_PGSQL:
101104
. PDO::pgsqlCopyFromArray also supports inputs as Iterable.
102105
. Pdo\Pgsql::setAttribute and Pdo\Pgsql::prepare supports

ext/pcntl/pcntl.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ function pcntl_wtermsig(int $status): int|false {}
10551055

10561056
function pcntl_wstopsig(int $status): int|false {}
10571057

1058-
function pcntl_exec(string $path, array $args = [], array $env_vars = []): bool {}
1058+
function pcntl_exec(string $path, array $args = [], array $env_vars = []): false {}
10591059

10601060
function pcntl_alarm(int $seconds): int {}
10611061

ext/pcntl/pcntl_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)