+ if (\version_compare(PHP_VERSION, '7.1.0', '>=')) {
+ $this->assertInstanceOf('ReflectionClassConstant', $refl);
+ } else {
+ $this->assertInstanceOf('Psy\Reflection\ReflectionClassConstant', $refl);
+ }
+
+ $refl = Mirror::get('PHP_VERSION');
+ $this->assertInstanceOf('Psy\Reflection\ReflectionConstant_', $refl);