Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Nov 26, 2025

We must assign the ctor_arguments regardless of modes.

Fix GH-20553

@Girgias Girgias force-pushed the 8.5-pdo_fetch_class_bug branch from 1fb2007 to 3f8b4a9 Compare November 26, 2025 12:24
@Girgias Girgias marked this pull request as ready for review November 26, 2025 13:21
@Girgias
Copy link
Member Author

Girgias commented Nov 26, 2025

@SakiTakamachi do you know what the FireBird issue is? It seems it doesn't support the SQL query :/

@SakiTakamachi
Copy link
Member

@Girgias

I’m not feeling well, so I’ll check this issue once I’ve recovered!

@ndossche
Copy link
Member

ndossche commented Nov 26, 2025

Firebird requires a FROM clause IIRC. So add FROM RDB$DATABASE. (be careful about the dollar tho)
EDIT: well, adding that from RDB$DATABASE won't work for the other databases ofc :P Also I'm not sure you can end with a semicolon.

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.

PHP 8.5.0 regression: PDO::FETCH_CLASSTYPE ignores $constructorArgs

3 participants