Mathijs wrote:
Hello there,

I use PHP5, and i wanted to know if there is an option to extract class constants with there name and value without using Refelection.

Now i need to create a reflection of the class to get the info.

Is there something like get_class_variables for constants??

Thx in advanced.

Read the first user contributed note for this page - I think that is your answer...

http://uk3.php.net/manual/en/function.get-class-vars.php

HTH,

Mikey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to