Skip to content

ext/pcntl: applied fixers to improve test robustness - #23037

Open
NickSdot wants to merge 1 commit into
php:masterfrom
NickSdot:test/hardening/ext-pcntl
Open

ext/pcntl: applied fixers to improve test robustness#23037
NickSdot wants to merge 1 commit into
php:masterfrom
NickSdot:test/hardening/ext-pcntl

Conversation

@NickSdot

@NickSdot NickSdot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Asserts error class; extracted from: #22799

C::$a + C::$a;
posix_kill(posix_getpid(), SIGTERM) + C::$cond;
} catch (Throwable $ex) {
echo get_class($ex) , " : " , $ex->getMessage() , "\n";

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (and following) safe us a function call; not style-only.

@NickSdot
NickSdot marked this pull request as ready for review August 4, 2026 15:56
@NickSdot
NickSdot requested a review from devnexen as a code owner August 4, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant