I'm currently working on a PHP project and I'm wondering if it's possible to use namespaces with functions or constants. I've been using namespaces to organize my classes, but I couldn't find much information on using them with functions or constants.
I understand that namespaces are used to avoid naming conflicts, so it would be great if I could use them for functions and constants as well. However, I'm not sure if PHP supports this or if there's a different approach I should take.
Any guidance or examples on how to use namespaces with functions or constants in PHP would be really appreciated.
Thanks in advance!