include() CAN be faster.
Consider
//fileA.php
if (1==2)
include("apieceofcode.inc.php")
else
include("somethingelse.inc.php")
//fileB.php
if (1==2)
require("apieceofcode.inc.php")
else
require("somethingelse.inc.php")
In this case fileA.php is faster because it contains less code I think. (because it means less work for php.exe)
The two functions do pretty much the same thing, and I think that the name difference is there instead of parameters.
¬ peterbe.com ¬