Commit e301043f164 for php
commit e301043f16481947dcdba9fa1ece5812e0fd3deb
Author: Gina Peter Banyard <girgias@php.net>
Date: Tue Sep 29 18:11:23 2026 +0100
reflection: mark reflection_class_new_lazy as static always inline
This is a common implementation for various lazy object methods
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 7e821f8e12b..c4341e28143 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -5085,7 +5085,7 @@ ZEND_METHOD(ReflectionClass, newInstanceArgs)
}
/* }}} */
-void reflection_class_new_lazy(INTERNAL_FUNCTION_PARAMETERS,
+static zend_always_inline void reflection_class_new_lazy(INTERNAL_FUNCTION_PARAMETERS,
int strategy, bool is_reset)
{
const reflection_object *intern;