Skip to content

Conversation

@nielsdos
Copy link
Member

When the array functions perform their operation in-place, the @refcount 1 annotation is wrong and causes a failure under ZEND_VERIFY_FUNC_INFO.
The test file tests all functions that have the in-place optimization, even those that didn't have the refcount annotation, just to prevent future regressions.

@Girgias This should fix the symfony test failures you saw

When the array functions perform their operation in-place, the
`@refcount 1` annotation is wrong and causes a failure under
`ZEND_VERIFY_FUNC_INFO`.
The test file tests all functions that have the in-place optimization,
even those that didn't have the refcount annotation, just to prevent
future regressions.
@Girgias
Copy link
Member

Girgias commented Jun 24, 2025

Thank you!

"completely useless func info", alright then

This reverts commit ea4807e.
@nielsdos
Copy link
Member Author

Heh now it warns "completely useless func info", so ig let's just drop it altogether...

@nielsdos nielsdos closed this in 359a21f Jun 24, 2025
@nielsdos
Copy link
Member Author

Merging this as I want to see the effect on the pipeline wrt ICount. I wonder if the ICount change was due to CI/Valgrind noise or not

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