Skip to content

Conversation

remicollet
Copy link
Contributor

  • IS_INTERNED removed in 8.5
  • ZSTR_IS_INTERNED available since 7.0

@remicollet remicollet requested a review from a team as a code owner July 17, 2025 07:21
@remicollet remicollet requested review from paulinevos and removed request for a team July 17, 2025 07:21
@alcaeus alcaeus requested review from alcaeus and removed request for paulinevos July 18, 2025 12:20
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@alcaeus alcaeus enabled auto-merge (squash) July 18, 2025 12:21
@alcaeus alcaeus merged commit 049a2bf into mongodb:v2.x Jul 18, 2025
103 of 104 checks passed
@remicollet remicollet deleted the issue-php85 branch July 18, 2025 12:45
zval c = *z;
zval_copy_ctor(&c);
convert_to_string(&c);
*pfree = ! IS_INTERNED(Z_STR(c));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For context, this was removed in php/php-src@64e2832

alcaeus pushed a commit to alcaeus/mongo-php-driver that referenced this pull request Sep 24, 2025
alcaeus added a commit that referenced this pull request Sep 25, 2025
* PHPC-2617: Run Github Actions tests on PHP 8.5

* Remove usage of setAccessible in tests

* Remove non-canonical cast

* Update setup-php-sdk to enable PHP 8.5 builds

* Package windows extensions for PHP 8.5

* Don't coerce NAN values to strings due to warnings

* use ZSTR_IS_INTERNED() (#1849)

---------

Co-authored-by: Remi Collet <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants