--TEST-- ReflectionProperty double construct call --FILE-- __construct(Exception::class, 'message'); var_dump($r); ?> --EXPECT-- object(ReflectionProperty)#1 (2) { ["name"]=> string(7) "message" ["class"]=> string(9) "Exception" } object(ReflectionProperty)#1 (2) { ["name"]=> string(7) "message" ["class"]=> string(9) "Exception" }