Posted by Gunnar G on 02/06/07 16:52
Hi.
Now I have this file
function A()
{
if (file_exists("a/foo.inc") echo "exists";
include "a/foo.inc";
....
}
function B()
{
include "B/foo.inc";
A();
}
and I start executing function B()
and it stops at the include in function A.
Files a/foo.inc and b/foo,inc contains functions with the same name.
But If I have read the docs right, a include in a function makes the
included stuff local to that namespace? But will it still conflict with the
included stuff from B/foo.inc ??
--
I didn't know sci.bio.paleontology was that low traffic until I tried read
the thread "Where is everyone?" and found it to be expired.
Navigation:
[Reply to this message]
|