Skip to content

Commit 8b8a673

Browse files
ext/reflection: fix some typos [skip ci] (php#16183)
1 parent 524f6df commit 8b8a673

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

ext/reflection/php_reflection.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6182,7 +6182,7 @@ static zend_result reflection_property_check_lazy_compatible(reflection_object *
61826182
return SUCCESS;
61836183
}
61846184

6185-
/* {{{ Set property value withtout triggering initializer while skipping hooks if any */
6185+
/* {{{ Set property value without triggering initializer while skipping hooks if any */
61866186
ZEND_METHOD(ReflectionProperty, setRawValueWithoutLazyInitialization)
61876187
{
61886188
reflection_object *intern;

ext/reflection/tests/bug36434.phpt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
--TEST--
2-
Reflection Bug #36434 (Properties from parent class fail to indetify their true origin)
2+
Reflection Bug #36434 (Properties from parent class fail to identify their true origin)
33
--FILE--
44
<?php
5-
class ancester
5+
class ancestor
66
{
7-
public $ancester = 0;
7+
public $ancestor = 0;
88
function __construct()
99
{
10-
return $this->ancester;
10+
return $this->ancestor;
1111
}
1212
}
13-
class foo extends ancester
13+
class foo extends ancestor
1414
{
1515
public $bar = "1";
1616
function __construct()
@@ -28,4 +28,4 @@ foreach ($r->GetProperties() as $p)
2828
?>
2929
--EXPECT--
3030
bar foo
31-
ancester ancester
31+
ancestor ancestor

ext/reflection/tests/bug62384.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
2+
Bug #62384 (Attempting to invoke a Closure more than once causes segfault)
33
--FILE--
44
<?php
55

0 commit comments

Comments
 (0)