看板
[ PHP ]
討論串[討論] 能不能這樣判實體化成功與否?
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
class test{. public $boo;. public functoin __construct($bool){. $this->bool = $bool;. return $bool;. }. public function __toString(){. return $this->b
(還有123個字)
內容預覽:
class file{. public $file_path;. public $file_name;. public $success=false;. public functoin __construct($full_name){. if (file_exists($full_name) &&
(還有290個字)
首頁
上一頁
1
下一頁
尾頁