What's new in PHP V5.3, Part 3, Namespaces

From the developerWorks archives

John Mertic

Date archived: January 4, 2017 | First published: January 20, 2009

PHP V5.3 is scheduled to release soon. This "What's new in PHP V5.3" series covers new and exciting features in this release. Part 1 of the series looks at the changes made to the object oriented programming and object handling in PHP 5.3. Part 2 looks at lambda functions and closures. Here in Part 3, we look at namespaces, which is one of the most anticipated and the most debated feature in this release of PHP. 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.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source
ArticleID=363483
ArticleTitle=What's new in PHP V5.3, Part 3: Namespaces
publish-date=01202009