Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Feb 8, 2025

This saves 8 bytes

@Girgias Girgias merged commit 5333afa into php:master Feb 8, 2025
9 checks passed
@Girgias Girgias deleted the pdo-dbh-struct-query-zval-to-zend_object branch February 8, 2025 19:27
stancl added a commit to stancl/msphpsql that referenced this pull request Oct 19, 2025
Since php/php-src#17741, dbh->error_mode is
stored as uint8_t. We cast the value to pdo_error_mode for the
assignment to work.

Since php/php-src#17742, query_stmt_zval has
been replaced by query_stmt_obj. The diff in the linked PR shows
the new destructor usage. We follow that same usage in this commit.
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.

2 participants