摘要: include与require的区别 <?php $file = __DIR__ . '/test.file.php'; # include # 如果文件不存在或文件有错误执行代码会提示一个warning警告,代码继续向下执行 #include $file; # require # 如果文件不存在或 阅读全文
posted @ 2023-05-29 10:11 phper521 阅读(0) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示