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