PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Neither const ALPHANUM = NUMBERS.LETTERS; nor const ALPHANUM = z::NUMBERS.z::LETTERS; works.
I dont think constants can be defined via concatenation/expression.
I am not sure you can define constants using the const construct setting it to an expression. I could be wrong, but I think the const construct follows the same rules for class properties.