Repository navigation
The zval_dtor() alias of zval_ptr_dtor_nogc() has been removed in php 8.6 (master) - #408
Conversation
Call zval_ptr_dtor_nogc() directly instead
|
Well that failed spectacularly. :) |
|
@tricky none of failures seems to be related to my changes. looks like missing slash in action somewhere, at least for linux builds |
|
It is an invalid redirect location got from secure.php.net for the distribution archive |
|
Yes, hence the smiley. :) |
|
btw this function was added in PHP 7.3 php/php-src@ebd1f5a#diff-aaa3174af361a8e16850162bbd86ff5aaf7340f1511d5c36db1a417798d0897eR34 |
|
@andypost |
|
@madmajestro exactly since 7.0 the function introduced, ref php/php-src@9e753531842 |
|
I confirm the fix is OK (tested with 7.4.33 and 8.6.0alpha2) |
|
We made the change locally too, and it works for us. Looking forward to this being merged. |
|
Could more people be added to the GitHub organization? A trivial build fix shouldn't take 7+ months to merge and 8 people commenting it. |
Builds the static binaries with PHP 8.6. Some extensions aren't compatible with 8.6 yet, so I switched to their development version or to Pull Requests adding support: | Extension | Source | PHP 8.6 patches included | |---|---|---| | amqp | [remicollet/php-amqp@issue-php86a2](https://github.com/remicollet/php-amqp/tree/issue-php86a2) | [php-amqp/php-amqp#638](php-amqp/php-amqp#638) (not merged) | | lz4 | [dunglas/php-ext-lz4@fix/static-zts-tsrm-cache](https://github.com/dunglas/php-ext-lz4/tree/fix/static-zts-tsrm-cache) | [kjdev/php-ext-lz4#48](kjdev/php-ext-lz4#48) (not merged) | | apcu | [krakjoe/apcu@master](https://github.com/krakjoe/apcu) | [#605](krakjoe/apcu#605), [#616](krakjoe/apcu#616), [#621](krakjoe/apcu#621), [#630](krakjoe/apcu#630) | | igbinary | [igbinary/igbinary@master](https://github.com/igbinary/igbinary) | [#408](igbinary/igbinary#408), [#419](igbinary/igbinary#419) | | imagick | [Imagick/imagick@master](https://github.com/Imagick/imagick) | [#795](Imagick/imagick#795) | | memcached | [php-memcached-dev/php-memcached@master](https://github.com/php-memcached-dev/php-memcached) | [#580](php-memcached-dev/php-memcached#580) | | msgpack | [msgpack/msgpack-php@master](https://github.com/msgpack/msgpack-php) | [#185](msgpack/msgpack-php#185) | | redis | [phpredis/phpredis@develop](https://github.com/phpredis/phpredis/tree/develop) | [#2884](phpredis/phpredis#2884), [#2888](phpredis/phpredis#2888) | | xlswriter | [viest/php-ext-xlswriter@master](https://github.com/viest/php-ext-xlswriter) | [#591](viest/php-ext-xlswriter#591) | I also temporiraly removed protobuf, until a release includes [protocolbuffers/protobuf#31752](protocolbuffers/protobuf#31752). (the `google/protobuf` Composer package still works without the extension)
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