mirror of
https://github.com/php/php-src.git
synced 2026-04-09 17:13:31 +02:00
Similar to what is done for ReflectionType itself, copy the type name stored inside ReflectionProperty. Also make sure the type field is always initialized for dynamic properties. This is a non-issue in PHP 8, because we store a pointer to the property_info there, rather than a copy.