Web Development Blog

Latest from Rapid Web

Search for:

Preventing namespace clashes in PHP

By Jordan Hall 26th July 2011

The PHP scope resolution operator in PHP is a useful feature when you need to access methods or variables within a static context. It can often be useful in reducing namespace conflicts. Especially when using custom code with off the shelf systems to avoid conflicting function redefinitions. There have been a few cases where previously defined function errors have cropped up when adding a pre made system to a custom developed application. This i...

Read Article