Skip to content

Conversation

@iluuu1994
Copy link
Member

Fixes GH-21059

Note: This is anologous to this check during the evaluation of enums:

php-src/Zend/zend_ast.c

Lines 989 to 993 in 4d5b651

// Preloading will attempt to resolve constants but objects can't be stored in shm
// Aborting here to store the const AST instead
if (CG(in_compilation)) {
return FAILURE;
}

@iluuu1994 iluuu1994 requested a review from TimWolla January 28, 2026 23:27
@iluuu1994 iluuu1994 requested a review from dstogov as a code owner January 28, 2026 23:27
@iluuu1994 iluuu1994 changed the base branch from master to PHP-8.5 January 28, 2026 23:27
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.

SIGSEGV in OPCache Preloading when using Typed Class Constants with Closures

2 participants