Link Contacts PHP iSDK example

ok got the answer from How can I link contacts via the PHP ISDK? - #2 by John_Borelli i added following public function in isdk.php and called the above example code and was succesfull:

public function linkContacts($contactId1, $contactId2, $contactLinkTypeId){
    $carray = array(
         php_xmlrpc_encode((int) $contactId1),
         php_xmlrpc_encode((int) $contactId2),
         php_xmlrpc_encode((int) $contactLinkTypeId)
    );
    return $this->methodCaller("ContactService.linkContacts", $carray);
}