Lines Matching refs:ip
33 * @param string $ip The IP address to convert.
40 public function test_ip_to_number(string $ip, int $version, int $upper, int $lower): void argument
42 $result = Ip::ipToNumber($ip);
88 * @param string $ip The IP to test.
94 public function test_ip_in_range(string $ip, string $range, bool $expected): void argument
96 $result = Ip::ipInRange($ip, $range);
133 * @param string $ip The IP to test.
139 public function test_ip_matches(string $ip, string $ipOrRange, bool $expected): void argument
141 $result = Ip::ipMatches($ip, $ipOrRange);
199 * @param string $ip The proxy IP to test.
202 public function test_proxy_is_trusted($config, string $ip, bool $expected): void argument
207 $result = Ip::proxyIsTrusted($ip);