php namespaces

Sitepoint have a new article today introducing to PHP Namespaces, one of the latest addition in PHP 5.3. In the article Craig Buckler show why do we need namespaces and how to use it in your code with samples on how to call it in your PHP application. This is the first part of the “How to use Namespaces” serie so expect more coming soon.

Namespaces are one of the most significant changes in PHP 5.3. They will be familiar to C# and Java developers, and they are likely to change the structure of PHP applications for the better.

PHP Namespaces

php namespaces

Official documentation available here : https://www.php.net/manual/en/language.namespaces.php