中間少了部分視頻,在Mem構造那一塊,
class Mem
{
//.....
public function __construct(){
if(!class_exists($this->type)){
$this->error="No ".$this->type;
return false;
}else{
$this->m=new $this->type;
}
}
}
沒有 的同學自己加上?。?!
class Mem
{
//.....
public function __construct(){
if(!class_exists($this->type)){
$this->error="No ".$this->type;
return false;
}else{
$this->m=new $this->type;
}
}
}
沒有 的同學自己加上?。?!
2016-02-21
根據(jù)參數(shù)的個數(shù)以及值去判斷實際的處理方法是不嚴謹?shù)?,我倒是覺得寫這節(jié)有點多余,弄巧成拙,而且視頻的剪切還成在跳躍的部分,體驗不好!
2016-01-26