[php-src] PR #25607: ext/standard: Fix refcount info for set_include_path()

From: Date: Thu, 19 Nov 2026 18:18:32 +0000
Subject: [php-src] PR #25607: ext/standard: Fix refcount info for set_include_path()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40828@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25607 Author: iliaal Since cd753007ce1, set_include_path() returns the previous include_path INI string with an added reference instead of a copy, but its stub still declared @refcount 1, so function and tracing JIT destroy a discarded result without checking its refcount and free a string the caller still holds, such as the variable passed to the earlier set_include_path() call. Drop the annotation and regenerate the arginfo and optimizer info, as ecb90c1db7e did for get_include_path().

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