“__toString()”方法也是一样自动被调用的。是在直接输出对象引用时自动调用的。 <?php class TestClass{ public $foo; public function __construct($foo) ...
確定! 回上一頁