這里詳細(xì)描述問題
stop的時候 會報錯 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