isRemote() public static method

Checks if an IP is remot
public static isRemote ( string $ip ) : boolean
$ip string IP
return boolean true if the IP is remote, otherwise false
Beispiel #1
0
 /**
  * @test
  */
 public function testRemote()
 {
     $status = Ip::isRemote('8.8.8.8');
     $this->assertTrue($status);
 }