php include and include_once [closed]
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
精彩评论