请问老师,这种写法是单例模式吗?
public static function deal($errno,$errmsg,$filename,$line,$vars){
$self=new self($errmsg,$filename,$line,$vars);
}
public static function deal($errno,$errmsg,$filename,$line,$vars){
$self=new self($errmsg,$filename,$line,$vars);
}
2021-07-03
举报