PHP控制台进度条
/**
* 控制台显示进度条
* @param $step integer 进度
* @param $message string 显示消息
* @throws Exception
*/
public function showProgress($step,$message)
{
if(!is_integer($step))
throw new Exception("Progress step need to be a integer.");
.
原创
2020-06-05 11:13:48 ·
428 阅读 ·
0 评论