开发者

php include and include_once [closed]

开发者_Go百科 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

really quick question does php 5 still support include_once because I am getting some unusual characters "..." when I use include_once but not when I use include


"..." is not a PHP error message. Any other symptoms?

Btw you could use include if you go for performance.


The only change between 4 and 5 is as follows (from PHP.net)

This behaviour changed in PHP 5, so for example with Windows the path is normalized first so that C:\PROGRA~1\A.php is realized the same as C:\Program Files\a.php and the file is included just once.

PHP.net - include_once

So to answer your question, yes PHP 5 supports include_once

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜