Skip to content

ext/opcache: applied fixers to improve test robustness - #23133

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

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

Conversation

@NickSdot

@NickSdot NickSdot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Asserts error class; extracted from: #22799

try {
var_dump(mod(125, 0));
} catch (Throwable $e) {
echo "Exception (" . get_class($e) . "): " . $e->getMessage() . "\n";

@NickSdot NickSdot Aug 8, 2026

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) save a function call; not-style only.

@NickSdot
NickSdot marked this pull request as ready for review August 8, 2026 07:44
@NickSdot
NickSdot requested a review from dstogov as a code owner August 8, 2026 07:44
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