mirror of
https://github.com/igorsimdyanov/php8.git
synced 2025-08-03 16:43:03 +00:00
11 lines
203 B
PHP
11 lines
203 B
PHP
<?php
|
|
spl_autoload_register();
|
|
|
|
$reflect = new ReflectionClass(User::class);
|
|
|
|
echo '<pre>';
|
|
foreach ($reflect->getAttributes() as $attribute) {
|
|
echo $attribute->getName() . PHP_EOL;
|
|
}
|
|
echo '</pre>';
|