1--TEST--
2Tests attributes on internal class properties.
3--EXTENSIONS--
4zend_test
5reflection
6--FILE--
7<?php
8
9$prop = new \ReflectionProperty(ZendTestClassWithPropertyAttribute::class, 'attributed');
10$attr = $prop->getAttributes(ZendTestAttribute::class)[0];
11var_dump($attr->getName());
12?>
13--EXPECT--
14string(17) "ZendTestAttribute"
15