예제 #1
0
 function testEscapeXML()
 {
     $string1 = new SafeString("<>\"'");
     $this->assertEquals($string1->toXML(), '&lt;&gt;&quot;&#039;');
 }