Skip to content

Mark zend_version() as @compile-time-eval - #23239

Open
DanielEScherzer wants to merge 2 commits into
php:masterfrom
DanielEScherzer:comp-time-eval-version
Open

Mark zend_version() as @compile-time-eval#23239
DanielEScherzer wants to merge 2 commits into
php:masterfrom
DanielEScherzer:comp-time-eval-version

Conversation

@DanielEScherzer

Copy link
Copy Markdown
Member

No description provided.

@DanielEScherzer

Copy link
Copy Markdown
Member Author

I'm not an expert in opcache - are the compile-time evaluations kept when the PHP version changes?

@kocsismate

Copy link
Copy Markdown
Member

I'm not an expert in opcache - are the compile-time evaluations kept when the PHP version changes?

I'M not an expert either, but yes, as soon as anyting changes in the build config (e.g. PHP version), the cache is invalidated. See zend_startup_system_id.c

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