public function testIp() { $this->assertTrue(v::ip('127.0.0.1')); $this->assertFalse(v::ip('not an ip')); }