<?php
   $myMethod = 'sayHello';
   $obj = new Person();
   $obj->$myMethod();
?>