Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext/pdo: Fix zend_object std layout for _pdo_row_t #17606

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Jan 28, 2025

See GH-17598 for more details

@nielsdos
Copy link
Member

This also means you can relax code like pdo_row_t *row = ecalloc(1, sizeof(pdo_row_t)); to use zend_object_alloc which should be a tad faster.

@Girgias Girgias merged commit b667939 into php:master Jan 29, 2025
9 checks passed
@Girgias Girgias deleted the pdo-row-struct-layout branch January 29, 2025 12:50
Girgias added a commit to Girgias/php-src that referenced this pull request Jan 29, 2025
Girgias added a commit that referenced this pull request Jan 29, 2025
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