Posts Tagged ‘PHP 5.3’

PHP 5.3 - Static Class Abstraction

Icon Written by Gareth Rodger on November 30, 2008 – 3:29 pm

With the advent of PHP 5.3 just around the corner it’s time to start thinking how some of the new features will affect you.
In this post i’m going to focus on one of the smaller and more overlooked features, the improved static method/property access.
So to start let’s create a basic static class:

class product {
public static [...]

Tags: , , , ,