Skip to content

Broken tests with opcache loaded in ZTS #8588

Closed
@arnaud-lb

Description

@arnaud-lb

Description

The following tests are broken in ZTS builds with JIT enabled opcache:

Bug #78376 (Incorrect preloading of constant static properties) [ext/opcache/tests/bug78376.phpt]
Bug #78175.2 (Preloading segfaults at preload time and at runtime) [ext/opcache/tests/bug78175_2.phpt]
Preloading inherited method with separated static vars [ext/opcache/tests/preload_method_static_vars.phpt]
Preload trait with static variables in method [ext/opcache/tests/preload_trait_static.phpt]

They fail when executed with -d zend_extension=opcache.so -d opcache.enable_cli=1 in non-debug ZTS builds.

See #8569 (comment)

I'm going to mark these tests as XFAIL so that #8569 can be merged. I'm opening this issue to keep track of this.

PHP Version

PHP 8.0 8735ae9

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