代码拉取完成,页面将自动刷新
implode(): Passing glue string after array is deprecated. Swap the parameters
array_push($pure_sql, $line);
}
// 只返回一条语句
if ($string) {
return implode($pure_sql, "");
}
// 以数组形式返回sql语句
$pure_sql = implode($pure_sql, "\n");
$pure_sql = explode(";\n", $pure_sql);
return $pure_sql;
} else {
return $string == true ? '' : [];
}
}
/**
* 读取文件内容