include、require、include_once的区别

千锋教育

include找不到文件会警告,程序继续运行,程序运行到该文件才执行
require找不到文件会报错,程序停止,程序一运行就执行