+
96
-

回答

在命令行参数后加上 2>&1

$ret=system("ls 2>&1");

网友回复

我知道答案,我要回答