Skip to content

opcache.jit won't write to opcache.file_cache #17770

Open
@kkmuffme

Description

@kkmuffme

Description

The following code:

<?php

function foo() {
    echo "hello";
}

foo();
php -d opcache.enable_cli=1 -d opcache.jit=1255 -d opcache.file_cache=/tmp/opcache test.php
php -d opcache.enable_cli=1 -d opcache.jit=disable -d opcache.file_cache=/tmp/opcache test.php

When jit is enabled, nothing is written to /tmp/opcache
When jit is disabled, /tmp/opcache is populated

Why?

PHP Version

8.4

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions