這里詳細(xì)描述問題
stop的時(shí)候 會(huì)報(bào)錯(cuò) thrown in [no active file] on line 0
php的底層\STDOUT \STDERR 永遠(yuǎn)都是 stream類型 無法close
if (\is_resource(\STDOUT)) {
\fclose(\STDOUT);
}
if (\is_resource(\STDERR)) {
\fclose(\STDERR);
}
thrown in [no active file] on line 0