mirror of
https://github.com/php/php-src.git
synced 2026-03-25 16:52:18 +01:00
RFC: https://wiki.php.net/rfc/property-hooks Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
16 lines
223 B
PHP
16 lines
223 B
PHP
--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) {
|
|
}
|