function testCompareAnchorDoesntMatter() { $str = 'http://*****:*****@localhost:81/test.php?bar=foo&foo=bar#23'; $uri = new lmbUri($str); $this->assertTrue($uri->compare(new lmbUri('http://*****:*****@localhost:81/test.php?bar=foo&foo=bar#32'))); }