Programming and Scripting :: Aliases



If include in php is like include in c, then yes.
Sourcing a file into a script is essentially the same as running the file, except it uses the currently active process rather than starting a new one....so it's extending the current script with the contents of an external file as if the external file was a part of the script.
It's very useful for utilizing things like functions and variables that are applied to multiple scripts.

Quote (Zucca @ June 17 2006,12:41)
Is the source command just like 'include' in PHP?

In my view it's similar to virtual().
Ok. Thanks for the infos/advices. =)

original here.