On Fri, 14 Oct 2005, Marcus Bointon wrote:
> I'm aware of how it's supposed to work, but the problem is that it's doing
> something very screwy for me and not working like it should. Because it's so
> different to how it normally works, I can only conclude that it's a php.ini
> problem (though I c
On 14 Oct 2005, at 07:07, Unknown W. Brackets wrote:
If you include a file within a function, that file will be loaded
in that function's scope. Example:
The same happens if b.class.php is included within a function (or
class member, etc.) and includes a.inc.php, as in your example (I
am
If you include a file within a function, that file will be loaded in
that function's scope. Example:
The same happens if b.class.php is included within a function (or class
member, etc.) and includes a.inc.php, as in your example (I am presuming.)
If this is the problem, I suggest simply a
Marcus Bointon schrieb:
> I posted this on general a while ago and the only conclusion anyone
> could come to is that there's a PHP bug somewhere.
Hm? I tested you code on a Debian 5.1 RC1 system and could not reproduce
the problem. I thought you failed to post the whole code you used since
you