In case you weren’t aware, PHP 5.3.x+ has provided a new method known as __callStatic(), which works the same as __call(), but as you may have guessed, it can be called statically. You can get more info from http://us.php.net/manual/en/language.oop5.overloading.php

Example:


class Foo
{
    public static function __callStatic($name, $params)
    {
        return 'Called ' . $name . ' with ' . implode(',', $params);
    }
}

echo Foo::bar(array('This is my message));