php / php-src

The PHP Interpreter
https://www.php.net
Other
38.33k stars 7.77k forks source link

Assertion failure zend_operators.c:1045: __zval_get_string_func: Assertion `0' failed #17028

Closed YuanchengJiang closed 20 hours ago

YuanchengJiang commented 20 hours ago

Description

The following code:

<?php
namespace ns;
require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";

Resulted in this output (JIT 1111):

php: /home/phpfuzz/WorkSpace/php-src/Zend/zend_operators.c:1045: __zval_get_string_func: Assertion `0' failed.
Aborted (core dumped)

Related: #16185

PHP Version

nightly

Operating System

ubuntu 22.04

nielsdos commented 20 hours ago

Duplicate of https://github.com/php/php-src/issues/15981