调用:$user = new UserBean(['account'=>'tioncico']);$user_array = $user->toArray(null, UserBean::FILTER_NOT_NULL);//转为数组并过滤掉null值