[php-src] PR #25767: Fix GH-25766: enchant_dict_suggest() crashes with JIT when the result for a word without suggestions is modified

From: Date: Wed, 25 Nov 2026 23:22:40 +0000
Subject: [php-src] PR #25767: Fix GH-25766: enchant_dict_suggest() crashes with JIT when the result for a word without suggestions is modified
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-41026@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25767 Author: thunderer Fixes GH-25766. Since 5dd5a4267f8, enchant_dict_suggest() returns the shared immutable empty array for a word without suggestions. 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 e43d3d10c32 did for array_column(). The test fails without the change.

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