parseResponseFile() 공개 메소드

public parseResponseFile ( $fp )
예제 #1
0
 function whiteSpace()
 {
     $m = new xmlrpcmsg("dummy");
     $fp = fopen($this->root . "/bug_whitespace.xml", "r");
     $r = $m->parseResponseFile($fp);
     $v = $r->value();
     fclose($fp);
     $s = $v->structmem("content");
     $this->assertEquals("hello world. 2 newlines follow\n\n\nand there they were.", $s->scalarval());
 }