ext/pgsql: Refactor parameter parsing to remove manual usage of zend_wrong_parameters_count_error()#20068
Conversation
|
Blerg, really can't wait to get rid of this jank... |
8a745ec to
346df2d
Compare
346df2d to
2c3acf7
Compare
ext/pgsql/pgsql.c
Outdated
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
2f84315
Compare
|
Please rebase for the test failure to double check. |
2f84315 to
ec544f5
Compare
ec544f5 to
9825014
Compare
|
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
This is a follow-up of phpGH-20068
This is a follow-up of GH-20068
Extract pgsql changes from #20066