PHP: what is the easiest way to dump class constants into array
<p>I'm having a class with a list of constants. I want something like <code>get_object_vars</code> to dump constants into array. What is the simpliest way to do that?</p>

<p>Thank you in advance!</p>
