isUser($token)) { echo "user access denied"; exit; } $list = (new action)->getList(); foreach($list as $ip) { echo long2ip($ip) . PHP_EOL; }