There are 300+ Constant in my application but i need to filter the Env specific Constant .
How can i do that
Discussion posts and replies are publicly visible
You have to manually filter out with any of the mentioned methods, but it is recommended to name the environment constant in an easily identifiable manner just for this case.
Start the name with the application prefix, use an additional prefix to group env constants.
APP_ENV_CONSTANT_NAME
You basically replied the same thing as Mike and I.