splitURI() static public method

*
static public splitURI ( $v )
 function splitURI($v)
 {
     return ARC2::splitURI($v);
 }
 public function testSplitURI()
 {
     $actual = ARC2::splitURI('http://www.w3.org/XML/1998/namespacefoo');
     $this->assertEquals(array('http://www.w3.org/XML/1998/namespace', 'foo'), $actual);
     $actual = ARC2::splitURI('http://www.w3.org/2005/Atomfoo');
     $this->assertEquals(array('http://www.w3.org/2005/Atom', 'foo'), $actual);
     $actual = ARC2::splitURI('http://www.w3.org/2005/Atom#foo');
     $this->assertEquals(array('http://www.w3.org/2005/Atom#', 'foo'), $actual);
     $actual = ARC2::splitURI('http://www.w3.org/1999/xhtmlfoo');
     $this->assertEquals(array('http://www.w3.org/1999/xhtml', 'foo'), $actual);
     $actual = ARC2::splitURI('http://www.w3.org/1999/02/22-rdf-syntax-ns#foo');
     $this->assertEquals(array('http://www.w3.org/1999/02/22-rdf-syntax-ns#', 'foo'), $actual);
     $actual = ARC2::splitURI('http://example.com/foo');
     $this->assertEquals(array('http://example.com/', 'foo'), $actual);
     $actual = ARC2::splitURI('http://example.com/foo/bar');
     $this->assertEquals(array('http://example.com/foo/', 'bar'), $actual);
     $actual = ARC2::splitURI('http://example.com/foo#bar');
     $this->assertEquals(array('http://example.com/foo#', 'bar'), $actual);
 }