Commit 09eaaae5dd5 for php.net

commit 09eaaae5dd551424ad747e9427180a27a0a811b3
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date:   Thu Jul 2 13:10:34 2026 -0700

    `ReflectionFunction::__toString()`: stop accessing `intern->ce`

    For global functions there is no class entry set, the constructor a few lines
    above explicitly sets `intern->ce = NULL;`, as does
    `reflection_function_factory()`. Replace the access with `NULL` to avoid
    suggesting that there might be a class entry to use.

diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 271a4aae6e0..a336ab5b885 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -1767,7 +1767,7 @@ ZEND_METHOD(ReflectionFunction, __toString)

 	ZEND_PARSE_PARAMETERS_NONE();
 	GET_REFLECTION_OBJECT_PTR(fptr);
-	_function_string(&str, fptr, intern->ce, "");
+	_function_string(&str, fptr, NULL, "");
 	RETURN_STR(smart_str_extract(&str));
 }
 /* }}} */