Re: Global unavailable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcus Bointon wrote:
On 5 Oct 2005, at 13:37, Jochem Maas wrote:

if changing the declaration in a.inc.php fixes it then you must
NOT be including b.inc.php form the global scope.


Well, that's what I thought, but it just isn't! The include really is in the global scope outside any class or function definition. The original definition is directly inside the included file, and not itself inside a function or class.

I should have mentioned that I'm using PHP 5.1-dev, so it could just be bug...

if its not what I said it might be then you may very well be looking at
a bug - personally I'd wait with 5.1 until its been hammered some more
and has stabilized a bit more (still plenty going on there!)

can you verify that 5.0.4 displays the same behaviour?


Marcus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux