View Single Post
01-15-2008, 03:30 AM
La Vida es Sueño
Join Date: Sep 2007
I'm sure others can give you a better description, but in a nutshell, namespaces are essentially a way in which to cipher of various code into namespaces. Think of a namespace as a
. Therefore anything in that
can have the same function name as another function in a different namespace (or
Basically, when you and others develop a PHP script now, you'll see you have to append some text that identifies your script to each class you create for that script, but with namespaces you can place all your classes in a namespace and all the classes within there can be named whatever you like, because they won't conflict with anything else.
Welcome back to TalkPHP by the way
It's a pleasure to have you round again!
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
The Following User Says Thank You to Wildhoney For This Useful Post:
View Public Profile
Send a private message to Wildhoney
Visit Wildhoney's homepage!
Find More Posts by Wildhoney