toString() public method

Returns string representation of number.
public toString ( ) : string
return string
Exemplo n.º 1
0
 function testToString()
 {
     $l = new HTMLPurifier_Length('23', 'in');
     $this->assertIdentical($l->toString(), '23in');
 }