Commit 69f23e7ded4 for php.net
commit 69f23e7ded44348a77efdffde22fef710d86425a
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Thu Jul 2 14:48:05 2026 -0700
Fix inline comment in `ReflectionMethod::isConstructor()`
"we we looking at" was presumably meant to be "we are looking at".
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 7dc65d09cc2..bcbbf65b110 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -3699,7 +3699,7 @@ ZEND_METHOD(ReflectionMethod, isConstructor)
ZEND_PARSE_PARAMETERS_NONE();
GET_REFLECTION_OBJECT_PTR(mptr);
- /* we need to check if the ctor is the ctor of the class level we we
+ /* we need to check if the ctor is the ctor of the class level we are
* looking at since we might be looking at an inherited old style ctor
* defined in base class. */
RETURN_BOOL((mptr->common.fn_flags & ZEND_ACC_CTOR) && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope);