Making sure you have the correct PHP class or function

Posted by solrac on Jun 24, 2009 8:53 AM EDT
IBM/developerWorks; By Nathan A. Good
Mail this story
Print this story

PHP V5.3 introduces the ability to provide namespaces to your PHP classes, constants, and functions. Using namespaces allows you to avoid naming collisions and provide context for your PHP code. These tips provide a few guidelines for building your namespaces so that you get the most out of them.

Namespaces are a way of making sure you have the correct PHP class, constant, or function and that people using your PHP classes can be sure they're using the correct ones. These tips provide guidelines for building your namespaces so that you get the most out of them and PHP.

Full Story

  Nav
» Read more about: Story Type: News Story, Tutorial; Groups: Community, Linux, PHP

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.