$result = $obj->functionA($obj->functionB());