<?php namespace My; interface Face { const EYES = 'eyes'; } var_dump((new \ReflectionClass(Face::class))->getConstants()); var_dump((new \ReflectionClass(Face::class->getConstants())));
You have javascript disabled. You will not be able to edit any code.