<?php class ClassB { private const THE_PRIVATE_CONSTANT = 9; public const THE_PUBLIC_CONSTANTS = 9; } var_dump( (new ReflectionClass(ClassB::class))->getConstants() );
You have javascript disabled. You will not be able to edit any code.