/ Published in: PHP
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
class Test { public $result; function __construct() { $this->result = TRUE; } public function __toString() { return (string)$this->result; } } $test = new Test();
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)