[php-src] master: reflection: mark reflection_class_new_lazy as static always inline

From: Date: Wed, 30 Sep 2026 14:44:21 +0000
Subject: [php-src] master: reflection: mark reflection_class_new_lazy as static always inline
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141787@lists.php.net to get a copy of this message
Author: Gina Peter Banyard (Girgias) Date: 2026-09-30T15:44:06+01:00 Commit: https://github.com/php/php-src/commit/e301043f16481947dcdba9fa1ece5812e0fd3deb Raw diff: https://github.com/php/php-src/commit/e301043f16481947dcdba9fa1ece5812e0fd3deb.diff reflection: mark reflection_class_new_lazy as static always inline This is a common implementation for various lazy object methods Changed paths: M ext/reflection/php_reflection.c Diff: diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 7e821f8e12b7..c4341e281430 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;

« previous php.cvs (#141787) next »