Uh oh!
There was an error while loading. Please reload this page.
ext/pgsql: Refactor parameter parsing to remove manual usage of zend_wrong_parameters_count_error() - #20068
Conversation
Girgias
commented
Oct 5, 2025
Blerg, really can't wait to get rid of this jank... |
8a745ec to
346df2dCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
346df2d to
2c3acf7Compare| zval dataset; | ||
| php_pgsql_fetch_hash(&dataset, result, row, row_is_null, PGSQL_ASSOC); | ||
| object_init_ex(return_value, ce); |
There was a problem hiding this comment.
This may be a pre-existing issue: but can't you make this object_init_ex call fail by providing an uninstantiable class (e.g. an interface, abstract class, ...). In that case, the code below may break.
There was a problem hiding this comment.
that sounds possible and very much a bug fix to me.
There was a problem hiding this comment.
I guess first thing is to fix the bug, then rebase on top of it
2c3acf7 to
2f84315Comparendossche
commented
Nov 4, 2025
Please rebase for the test failure to double check. |
2f84315 to
ec544f5Compareec544f5 to
9825014CompareUh oh!
There was an error while loading. Please reload this page.
iluuu1994
commented
Nov 6, 2025
Is this the cause for this failure on Windows? https://github.com/php/php-src/actions/runs/19121938021/job/54644131975 It happens only on master, and happened in two Windows builds, so it doesn't look like random chance. |
Yeah, I think I figured out the issue. See #20407 for the fix |
This is a follow-up of phpGH-20068
Extract pgsql changes from #20066