[php-src] Issue #21264: [JIT] Community Symfony HttpFoundation failure

From: Date: Sat, 21 Feb 2026 01:20:21 +0000
Subject: [php-src] Issue #21264: [JIT] Community Symfony HttpFoundation failure
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-251707@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/21264 Author: iluuu1994 ### Description The following code: ```php --TEST-- Missing reference unwrap for FE_FETCH_R in JIT --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.jit=function --FILE-- <?php class C { public array $array; public static function identity($x) { return $x; } public function test() { array_map(self::identity(...), $this->array); } } function test() { $c = new C; $element = 'qux'; $c->array = [&$element, &$element]; var_dump($c->test()); } test(); test(); ?> --EXPECT-- ``` Resulted in this output: ``` php: /home/ilutov/Developer/php-src/Zend/zend_execute.c:256: _get_zval_ptr_tmp: Assertion `zval_get_type(&(*(ret))) != 10' failed. Termsig=6 ``` But I expected this output instead: ``` ``` zend_jit_fe_fetch() is likely missing the changes from GH-20628. ### PHP Version ```plain master ``` ### Operating System _No response_

« previous php.bugs (#251707) next »