[php-src] master: reflection: no longer always inline reflection_class_new_lazy()
| From: | Gina Peter Banyard | Date: | Thu, 01 Oct 2026 12:37:44 +0000 |
| Subject: | [php-src] master: reflection: no longer always inline reflection_class_new_lazy() | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141833@lists.php.net to get a copy of this message | ||
Author: Gina Peter Banyard (Girgias)
Date: 2026-10-01T13:37:35+01:00
Commit: https://github.com/php/php-src/commit/c6f3b2ad44494ed52230fb441acdb27e769e5de1
Raw diff: https://github.com/php/php-src/commit/c6f3b2ad44494ed52230fb441acdb27e769e5de1.diff
reflection: no longer always inline reflection_class_new_lazy()
As per @ndossche remark: https://github.com/php/php-src/pull/23998#discussion_r4155152767
Changed paths:
M ext/reflection/php_reflection.c
Diff:
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index c4341e281430..984ecfb56040 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -5085,7 +5085,7 @@ ZEND_METHOD(ReflectionClass, newInstanceArgs)
}
/* }}} */
-static zend_always_inline void reflection_class_new_lazy(INTERNAL_FUNCTION_PARAMETERS,
+static void reflection_class_new_lazy(INTERNAL_FUNCTION_PARAMETERS,
int strategy, bool is_reset)
{
const reflection_object *intern;