Say I have some constants:
define('CON1','foo');
define('CON2','bar');
is there a way to concatenate/evaluate a constant's name to read it back - ie
for ($i=1; $i<=2; $i++) {
$thisconstant = 'CON' . $i;
echo $$thisconstant;
}
or some such business - of course this syntax would be wrong for constants. Easy with variables, but can I do it with constants?