Linked by Thom Holwerda on Fri 16th Jan 2009 09:52 UTC
General Development The concept of Namespaces provides a way to help avoid problems with multiple functions, classes, and constants of the same name being defined multiple times. PHP 5.3 borrows much of the syntax and design of Namespaces from other languages " most notably C++. However, it does deal with Namespaces in a somewhat unique way, which may cause problems for those familiar with Namespaces. This article takes a close look at PHP V5.3 namespaces, which is one of the most anticipated and the most debated feature in this release of PHP.
Permalink for comment 344148
To read all comments associated with this story, please click here.
backslash?
by ArcadeFX on Sun 18th Jan 2009 06:24 UTC
ArcadeFX
Member since:
2005-07-06

I am having trouble coming to like the '\' character for namespace separator.

Why not:
$ns=>myclass->saveData();

Reply Score: 1