$var = require_once("target.php");
是否可以將require_once存儲在變量中並執行它遲到?PHP將require_once存儲在變量中並稍後執行
我需要放置到這個功能
function foo($path){
if($path !== ""){$path = require_once($path);}
do something first...
$path//than execute require_once
}
存儲什麼,源代碼或其輸出? – 2014-09-25 14:38:00