ext/reflection: fix some typos [skip ci] (#16183)

This commit is contained in:
DanielEScherzer 2024-10-02 22:55:25 -07:00 committed by GitHub
parent 524f6dfb19
commit 8b8a6733d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View File

@ -6182,7 +6182,7 @@ static zend_result reflection_property_check_lazy_compatible(reflection_object *
return SUCCESS;
}
/* {{{ Set property value withtout triggering initializer while skipping hooks if any */
/* {{{ Set property value without triggering initializer while skipping hooks if any */
ZEND_METHOD(ReflectionProperty, setRawValueWithoutLazyInitialization)
{
reflection_object *intern;

View File

@ -1,16 +1,16 @@
--TEST--
Reflection Bug #36434 (Properties from parent class fail to indetify their true origin)
Reflection Bug #36434 (Properties from parent class fail to identify their true origin)
--FILE--
<?php
class ancester
class ancestor
{
public $ancester = 0;
public $ancestor = 0;
function __construct()
{
return $this->ancester;
return $this->ancestor;
}
}
class foo extends ancester
class foo extends ancestor
{
public $bar = "1";
function __construct()
@ -28,4 +28,4 @@ foreach ($r->GetProperties() as $p)
?>
--EXPECT--
bar foo
ancester ancester
ancestor ancestor

View File

@ -1,5 +1,5 @@
--TEST--
Bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
Bug #62384 (Attempting to invoke a Closure more than once causes segfault)
--FILE--
<?php