You can overload function calls via the __call() handler.

<?php
class hello {
    function __call($name, $args) {
        echo "Hello $name!";
        echo "\n<br />\n";
    }
}

$h = new hello;
$h->sterling();
$h->rasmus();
?>
Output
Hello sterling!
Hello rasmus!