--TEST-- ReflectionConstant double construct call --FILE-- __construct('C' . mt_rand(2, 2)); var_dump($r); ?> --EXPECT-- object(ReflectionConstant)#1 (1) { ["name"]=> string(2) "C1" } object(ReflectionConstant)#1 (1) { ["name"]=> string(2) "C2" }