Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
示例命令:
echo "<pre>\n"; system('drush cc all', $retval); echo "</pre>\n";
一切似乎都很好。有一条消息表明命令运行正确。
但是 $retval 始终为 0。
它的返回错误代码。没有错误,你得到 0。
阅读退出状态。