mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00

RFC: https://wiki.php.net/rfc/property-hooks Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
15 lines
223 B
PHP
15 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) {
|
|
}
|