[php-src] Issue #20991: SIGABRT in `zend_compile_func_array_map()` (zend_compile.c:5072) with `Assertion 0 && "not implemented"`

From: Date: Wed, 21 Jan 2026 14:52:11 +0000
Subject: [php-src] Issue #20991: SIGABRT in `zend_compile_func_array_map()` (zend_compile.c:5072) with `Assertion 0 && "not implemented"`
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-251584@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/20991 Author: iany0 ### Description The following code: ```php <?php function foo(string $key): string { throw new \Exception('Test'); } array_filter( array_combine( ['a'], array_map(j::foo(...),['a']), ay_combine( ['a'], array_map(j::foo( ['a'], array_map(j::foo(...),['a']), ay_combine( ['a'], array_map(j::foo(...),['a']), ), ...),['a']), ), ), ); ?> ``` Resulted in this output: ``` Running LLVMFuzzerInitialize ... continue... Reading 375 bytes from poc_4 php-fuzz-parser: /home/unimelb.edu.au/wenqiyan/fuzzingdynamiq/subjects/testphp/php-src/Zend/zend_compile.c:5072: zend_result zend_compile_func_array_map(znode *, zend_ast_list *, zend_string *, uint32_t): Assertion `0 && "not implemented"' failed. Aborted ``` This reproduces with php-fuzz-parser (fuzzing harness). ### PHP Version ```plain PHP 8.6.0-dev ``` ### Operating System _No response_

« previous php.bugs (#251584) next »