On Thu, 13 Oct 2005, Antony Dovgal wrote:
> On 13.10.2005 20:51, Marcus Bointon wrote:
>
> > in a.inc.php:
> >
> > <?php
> > $a = 1;
> > ?>
> >
> > in b.class.php:
> >
> > <?php
> > require 'a.inc.php';
> > class b {
> > function test() {
> > global $a;
> > echo $a;
> > }
> > }
> > ?>
>
> Works fine here.
I can't reproduce it either with 4.4.0rc2-dev - and nothing from
valgrind. Our huge application doesn't have any problems with it either.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php