Skip to content

Assertion `(key)->h != 0 && "Hash must be known"' failed. #10570

Closed
@Changochen

Description

@Changochen

Description

The following code:

<?php
$$P = new stdClass();
for (; ; ) {
    $$a->{90};
    $$a->{0} = 0;
}
?>

Resulted in this output:

php-src/Zend/zend_hash.c:673: zend_hash_find_bucket: Assertion `(key)->h != 0 && "Hash must be known"' failed.

PHP Version

PHP 8.3.0-dev

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