[php-src] PR #25599: ext/mbstring: Fix refcount info for mb_encode_mimeheader(), mb_output_handler()

From: Date: Thu, 19 Nov 2026 16:28:07 +0000
Subject: [php-src] PR #25599: ext/mbstring: Fix refcount info for mb_encode_mimeheader(), mb_output_handler()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40821@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25599 Author: iliaal mb_encode_mimeheader() returns its input unchanged when it is printable ASCII with no spaces, '=', '?' or '_', and mb_output_handler() does so when no conversion applies, but both stubs declared @refcount 1, so function and tracing JIT destroy a discarded result without checking its refcount and free a string that is still referenced. Drop the annotation and regenerate the arginfo and optimizer info.

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