ru_php/ext/reflection/tests/property_hooks/ReflectionClass_getMethods.phpt

16 lines
223 B
Plaintext
Raw Permalink Normal View History

--TEST--
ReflectionClass::getMethods() does not contain property hooks
--FILE--
<?php
class Test {
public $a { get {} set {} }
}
var_dump((new ReflectionClass(Test::class))->getMethods());
?>
--EXPECT--
array(0) {
}