PHP Namespace Example

Namespaces are a new feature of PHP 5.3. I may write an actual tutorial for namespaces in PHP later down the track. When it was first introduced in PHP, I wrote a small application to test the namespace functionality. I’ve attached the code.

Basically, it’s a very simple CMS that grabs and outputs content from the database.

PHP Namespace Example

Comments are closed.