Skip to content

Assertion failure in zend_compile.c found by php-fuzz-execute #19304

@gal1ium

Description

@gal1ium

Description

Description

The following code:

<?php
$foo = new class {
    public self $v;
};
$foo->v= 0;

Resulted in this output:

php-fuzz-execute: /src/php-src/Zend/zend_compile.c:1396: zend_string *resolve_class_name(zend_string *, zend_class_entry *): Assertion `scope && "This should only happen with resolved types"' failed.
Aborted (core dumped)

PHP Version

16b2fc4

Operating System

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions