Lines Matching refs:ip
50 * @param string $ip The IP address to convert.
60 public function test_ip_to_number(string $ip, int $version, $upper, $lower): void argument
62 $result = Ip::ipToNumber($ip);
114 * @param string $ip The IP to test.
120 public function test_ip_in_range(string $ip, string $range, bool $expected): void argument
122 $result = Ip::ipInRange($ip, $range);
159 * @param string $ip The IP to test.
165 public function test_ip_matches(string $ip, string $ipOrRange, bool $expected): void argument
167 $result = Ip::ipMatches($ip, $ipOrRange);
225 * @param string $ip The proxy IP to test.
228 public function test_proxy_is_trusted($config, string $ip, bool $expected): void argument
233 $result = Ip::proxyIsTrusted($ip);