"Fix name to \PDO" warning from NetBeans. What does that do?

I'm using NetBeans, and I know that the '\' is supposed to denote a namespace. I know what namespaces are, but I fail to understand what its significance is in here. Is NetBeans assuming I might be silly enough to create an object named PDO under a different namespace?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
It's not "silly" to have different namespaces with identical names in their scope -- that's part of the abstraction process.  Check the links here.  For most PHP users this is rather "new territory."  This is related to your other question on namespaces.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
elepilAuthor Commented:

What I meant by "silly" was a developer creating a class named PDO in a different namespace when every PHP developer should already know PDO is a prevalently used class name. It's not like there is a shortage of name variations.

Thanks for the help.
Ray PaseurCommented:
Yeah, good point.  In the case of PDO, it's pretty obvious.  In the case of "validateUser" it might be easy to cause a name collision!

Best regards, ~Ray
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.