Shaunak Kashyap wrote:
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
Actually, PHP5 allows constants per class, aka class constants. I think
that's what the OP is referring to.
I have been educated :) I didn't know they existed.
They don't show up in var_dump or anything like it :/
From the looks of things you can't get them - maybe put in a feature
request (bugs.php.net) and see what happens for the next version.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php