[php-src] PR #25748: Fix GH-25746: array_column() crashes with JIT when the result for an empty array is modified

From: Date: Wed, 25 Nov 2026 17:27:59 +0000
Subject: [php-src] PR #25748: Fix GH-25746: array_column() crashes with JIT when the result for an empty array is modified
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-41004@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25748 Author: thunderer Fixes GH-25746. Since 5d24c8bd605, array_column() returns the shared immutable empty array for an empty input. The stub still declared @refcount 1, so function JIT and tracing JIT modified that array in place and crashed. This drops the annotation and regenerates the arginfo and optimizer info, as 359a21f102b, 857593148d5 and 195a8fd2db3 did for other functions. The test fails without the change.

« previous php.git-pulls (#41004) next »