I'm relatively new to PHP development and I've come across the terms "use" and "include" in various code examples. I'm a bit confused about when to use one over the other and what exactly is the difference between them.
To give you some context, I'm working on a project where I need to include external classes and files in my PHP code. Some sources suggest using the "use" keyword to import namespaces, while others recommend using the "include" or "require" statement to include files.
I would appreciate it if someone could explain to me the scenarios in which I should use "use" and "include". Also, it would be great if you could clarify the differences between them, and whether one is more preferable or efficient than the other in certain situations.
Thank you in advance for your help and insights!