Пример #1
0
 public function testUrlSantize()
 {
     $s = new Stringizer("http://jason��lam604.co�m");
     // Unsantized should fail
     $this->assertEquals(false, $s->isUrl());
     // Santize should pass
     $this->assertEquals(true, $s->isUrl(true));
 }