Skip to content

ext/pdo: Make statement class updates atomic - #390

Open
iliaal wants to merge 1 commit into
PHP-8.4from
fix/aph-pdo-statement-class-atomic-update-v73e-84-work
Open

iliaal wants to merge 1 commit into
PHP-8.4from
fix/aph-pdo-statement-class-atomic-update-v73e-84-work

Conversation

@iliaal

@iliaal iliaal commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Validate the complete ATTR_STATEMENT_CLASS tuple before changing the default class or releasing prior constructor arguments.

Validate constructor arguments before replacing the default statement class.
Rejecting an update now leaves the PDO handle unchanged.
Extend pdo_030.phpt to cover rejected updates and preserved state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant