Chinaunix首页 | 论坛 | 博客
  • 博客访问: 134322
  • 博文数量: 57
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 580
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-04 22:57
文章分类

全部博文(57)

文章存档

2011年(1)

2010年(1)

2009年(55)

我的朋友

分类:

2009-02-04 14:52:34

这里是php。
1:带和不带once的区别:with the only difference being that if the code from a file has already been included, it will not be included again;*_once() should be used in cases where the same file might be included and evaluated more than once during a particular execution of a script, and you want to be sure that it is included exactly once to avoid problems with function redefinitions, variable value reassignments, etc.
2:require和include的区别:different in how they handle failure;require results in a Fatal Error;include results in only a warning and continue;
阅读(774) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~