Skip to content

ext/gd/tests: fixup gh16559.phpt and gh17349.phpt with external gd#21987

Open
orlitzky wants to merge 2 commits intophp:PHP-8.3from
orlitzky:gh16559-bundled-gd-only
Open

ext/gd/tests: fixup gh16559.phpt and gh17349.phpt with external gd#21987
orlitzky wants to merge 2 commits intophp:PHP-8.3from
orlitzky:gh16559-bundled-gd-only

Conversation

@orlitzky
Copy link
Copy Markdown
Contributor

@orlitzky orlitzky commented May 8, 2026

  • gh16559.phpt is a test for a bugfix in the bundled libgd
  • gh17349.phpt now loads a PNG image so an external libgd needs PNG support

This is a test for a bugfix in the bundled libgd.
@devnexen
Copy link
Copy Markdown
Member

devnexen commented May 8, 2026

Hi. two things :

  • if you can create 1 unique PR for both test fixes.
  • Minimum version supported is PHP-8.4.
    Thanks !

This test loads a PNG image, so if an external libgd is being used, it
has to support PNG.
@orlitzky orlitzky changed the title ext/gd/tests/gh16559.phpt: skip when using an external libgd ext/gd/tests: fixup gh16559.phpt and gh17349.phpt with external gd May 9, 2026
@orlitzky
Copy link
Copy Markdown
Contributor Author

orlitzky commented May 9, 2026

* Minimum version supported is PHP-8.4.

Both of these are new failures in 8.3.31, added in relation to some security issues. If it's worth adding new tests in a security release, then shouldn't it be worthwhile to ensure that they pass?

I obviously have a patch for 8.3.x, but if I were slightly less attentive, some of our users would be stuck on 8.3.30 because the upgrade to 8.3.31 fails out-of-the-box.

@devnexen
Copy link
Copy Markdown
Member

devnexen commented May 9, 2026

@bukka @ericmann is it eligible ?

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