$apiT = new ZabbixApi($apiurl, $user, $passwd); $apiT->setDefaultParams(array( 'output' => 'extend', 'serviceids'