镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

The zval_dtor() alias of zval_ptr_dtor_nogc() has been removed in php 8.6 (master) - #768

Open
k0d3r1s wants to merge 1 commit into
Imagick:masterfrom
fork-php:zval_ptr_dtor_nogc
Open

k0d3r1s wants to merge 1 commit into
Imagick:masterfrom
fork-php:zval_ptr_dtor_nogc

Conversation

@k0d3r1s

@k0d3r1s k0d3r1s commented Dec 4, 2025

Copy link
Copy Markdown

Hi. Tried building against php master branch and this issue jumped out.
php UPGRADING.INTERNALS says: "The zval_dtor() alias of zval_ptr_dtor_nogc() has been removed. Call zval_ptr_dtor_nogc() directly instead.".
So as this is purely removed alias, this seems to be a trivial fix

Call zval_ptr_dtor_nogc() directly instead
desrosj added a commit to desrosj/docker-library-wordpress that referenced this pull request Nov 5, 2026
No imagick release compiles against PHP 8.6: 3.8.1 still uses zval_dtor()
and XtOffsetOf(), both removed in PHP 8.6 (see php-src UPGRADING.INTERNALS).
The XtOffsetOf fix (Imagick/imagick#795) is merged but unreleased, and the
zval_dtor fix (Imagick/imagick#768) is still open. Installing imagick
without pecl is also pending docker-library#1001 (pie).

Until then, PHP 8.6 images skip imagick and its build-only -dev packages;
WordPress falls back to GD for image processing. The PHP 8.2-8.5 output
is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
desrosj added a commit to desrosj/docker-library-wordpress that referenced this pull request Nov 5, 2026
No imagick release compiles against PHP 8.6: 3.8.1 still uses zval_dtor()
and XtOffsetOf(), both removed in PHP 8.6 (see php-src UPGRADING.INTERNALS).
The XtOffsetOf fix (Imagick/imagick#795) is merged but unreleased, and the
zval_dtor fix (Imagick/imagick#768) is still open. Installing imagick
without pecl is also pending docker-library#1001 (pie).

Until then, PHP 8.6 images skip imagick and its build-only -dev packages;
WordPress falls back to GD for image processing. The PHP 8.2-8.5 output
is unchanged.
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.

1 participant