PHP 5.5/7.0/7.4: handle the OPcache extension#883
Merged
Conversation
The OPcache extension was introduced in PHP 5.5, but the functions were not flagged as such. Previously, the extension was available via PECL.
The OPcache extension was introduced in PHP 5.5, but the ini directives were not flagged as such. Previously, the extension was available via PECL. Includes detecting the new PHP 7.4 `opcache.cache_id` directive. > - OPcache now supports an arbitrary amount of separate caches per user via the INI directive opcache.cache_id. All processes with the same cache ID and user share an OPcache instance. Refs: * https://github.com/php/php-src/blob/30de357fa14480468132bbc22a272aeb91789ba8/UPGRADING#L620-L622 * php/php-src@e2ed7e6
The OPcache extension was introduced in PHP 5.5, but removed ini directives were not all accounted for.
wimg
approved these changes
Aug 28, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PHP 5.5/NewFunctions: account for OPcache extension
The OPcache extension was introduced in PHP 5.5, but the functions were not flagged as such.
Previously, the extension was available via PECL.
PHP 5.5/NewIniDirectives: account for OPcache extension
The OPcache extension was introduced in PHP 5.5, but the ini directives were not flagged as such.
Previously, the extension was available via PECL.
Includes detecting the new PHP 7.4
opcache.cache_iddirective.Refs:
PHP 7.0/RemovedIniDirectives: account for OPcache extension
The OPcache extension was introduced in PHP 5.5, but ini directives removed in PHP 7.0 were not all accounted for.
Loosely related to #808