Arnaldo Gandol wrote:
how can I to iterate the class constant without knowing their names?, I've
reviewed the Class/Object Functions and Reflexion and nothing, I dont want
to use static class variables, can any one help.


Constants aren't per class, they are per system. Whether you define them in a class or not won't change this.

You can list all constants using http://www.php.net/manual/en/function.get-defined-constants.php


If you want to look at the class variables:
http://www.php.net/manual/en/function.get-class-vars.php

--
Postgresql & php tutorials
http://www.designmagick.com/

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

Reply via email to