$basePath = dirname(__File__); file_put_contents($basePath.'./11.log',var_export(11,true)); 转载于:https://www.cnblogs.com/zxqblogrecord/p/9062614.html