【发布时间】:2016-02-02 12:03:00
【问题描述】:
我刚刚在 Yii MessageCommand.php 中找到了下面这段代码
$config=require($args[0]);
$translator='Yii::t';
extract($config);
https://github.com/yiisoft/yii/blob/master/framework/cli/commands/MessageCommand.php82号线
我认为 require 只能返回 true 或 false。
谁能告诉我这个sn-p。
【问题讨论】:
标签: php yii return return-value require