You are here: Re: [PHP] Global unavailable? « PHP « IT news, forums, messages
Re: [PHP] Global unavailable?

Posted by Marcus Bointon on 10/15/86 11:28

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...

Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация