$auth = array("login" => "your login", "password" => "your password"); $wsdl = "https://api.five9.com/wsadmin/v2/AdminWebService?wsdl"; $soap = new .