Exemplo n.º 1
0
<?php

abstract class BaseClass
{
    public static function __callStatic($name, $arguments)
    {
        echo "Calling static method '{$name}' " . implode(', ', $arguments) . "\n";
    }
}
BaseClass::foo();