<?php
class Test {
function call ($method_name) {
// echo $method_name;
$this->{"call_".$method_name}();
}
private function call_cock () {
echo "DONG FOR DAZE!!!\n";
}
}
$t = new Test();
$t->call('cock');