I'm working on a PHP project, and I'm wondering if it's possible to use multiple namespaces in a single PHP file. I know that namespaces are used to organize code and prevent naming conflicts, but I'm not sure if I can have more than one namespace declaration in the same file.
I have multiple classes that I want to organize into different namespaces to keep my code clean and manageable. Is it possible to do this within a single PHP file? If so, how would I go about declaring and using multiple namespaces?
I appreciate any help or guidance you can provide. Thanks in advance!