Z_CACHE_SLOT changed meaning in PHP 7.3?
| From: | Christoph M. Becker | Date: | Fri, 06 Jul 2018 13:38:06 +0000 |
| Subject: | Z_CACHE_SLOT changed meaning in PHP 7.3? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-102623@lists.php.net to get a copy of this message | ||
Hi!
While trying to put together a patch to make PECL/uopz compatible with
PHP 7.3[1], I've stumbled upon commit ca035f2[2] and commit 1a63fa6[3].
The former removed Z_CACHE_SLOT and related stuff, but the latter
reintroduced it with an apparently somewhat different meaning. If that
is correct, this change should be documented in UPGRADING.INTERNALS, and
perhaps it might even be better to rename the RECV_INIT cache and the
related macros, so any extension (probably few, if any) would already
fail at compile time.
Thanks!
[1] <https://github.com/krakjoe/uopz/issues/79>
[2]
<http://git.php.net/?p=php-src.git;a=commit;h=ca035f26aa296acf553f289e2d459fd052367db2>
[3]
<http://git.php.net/?p=php-src.git;a=commit;h=1a63fa6ec9b0bacbb726e60c3c212e7d97b518c6>
--
Christoph M. Becker