Commit 5e3d0abf117 for php

commit 5e3d0abf117175318e8efe390384c247e10009dd
Author: Gina Peter Banyard <girgias@php.net>
Date:   Thu Oct 1 07:44:49 2026 +0100

    reflection: use Z_PARAM_OBJECT_OR_NULL instead of Z_PARAM_OBJECT_EX

diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index b4d27eb97e3..c7268b2f66e 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -5848,7 +5848,7 @@ ZEND_METHOD(ReflectionProperty, getValue)

 	ZEND_PARSE_PARAMETERS_START(0, 1)
 		Z_PARAM_OPTIONAL
-		Z_PARAM_OBJECT_EX(object, 1, 0)
+		Z_PARAM_OBJECT_OR_NULL(object)
 	ZEND_PARSE_PARAMETERS_END();

 	GET_REFLECTION_OBJECT_PTR(ref);
@@ -6281,7 +6281,7 @@ ZEND_METHOD(ReflectionProperty, isInitialized)

 	ZEND_PARSE_PARAMETERS_START(0, 1)
 		Z_PARAM_OPTIONAL
-		Z_PARAM_OBJECT_EX(object, 1, 0)
+		Z_PARAM_OBJECT_OR_NULL(object)
 	ZEND_PARSE_PARAMETERS_END();

 	GET_REFLECTION_OBJECT_PTR(ref);