<?php
class something
{
    const rr = "lala";
    const gg = "ggerer";
}
$hh = new ReflectionClass('something');
print_r($hh->getConstants());
?>

Thank you, I've try this above and works, I hadn't seen the message below.
Excuse my english.



On 3/7/06, Jared Williams < [EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > ReflectionClass
> >
> > getConstant
> > getConstants
> > hasConstant
> >
> > http://www.ren.dotgeek.org/classbrowser/class.php?class=ReflectionClass
> >
> > Jared
> >
>

Reply via email to