[php-src] Issue #19304: Assertion `scope && "This should only happen with resolved types"' failed found by `php-fuzz-execute`
| From: | gal1ium | Date: | Wed, 30 Jul 2025 09:03:24 +0000 |
| Subject: | [php-src] Issue #19304: Assertion `scope && "This should only happen with resolved types"' failed found by `php-fuzz-execute` | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-250524@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/19304
Author: gal1ium
### Description
### Description
The following code:
```php
<?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
```plain
https://github.com/php/php-src/commit/16b2fc41a3cf3871d5481c1efc2e16ac99a2890e
```
### Operating System
_No response_