isRemote() public static méthode

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