mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
ext/reflection: fix some typos [skip ci] (#16183)
This commit is contained in:
parent
524f6dfb19
commit
8b8a6733d1
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user