__call() is used to catch method calls the same way __get() and __set() is used to catch property accesses

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

$h = new hello;
$h->rusty();
$h->anton();
?>
Hello Rusty!
Hello Anton!