2007/12/20, Martin Alterisio <[EMAIL PROTECTED]>:
>
> 2007/12/20, Greg Beaver <[EMAIL PROTECTED]>:
> >
> > Martin Alterisio wrote:
> > > Consider the following code:
> > >
> > > test.php:
> > > > > include 'foo.php';
> > > use test::foo;
> > > foo();
> > > ?>
> > >
> > > foo.php:
> > > > > namesp
2007/12/20, Greg Beaver <[EMAIL PROTECTED]>:
>
> Martin Alterisio wrote:
> > Consider the following code:
> >
> > test.php:
> > > include 'foo.php';
> > use test::foo;
> > foo();
> > ?>
> >
> > foo.php:
> > > namespace test;
> > function foo() { }
> > ?>
> >
> > Is it expected behavior that the s
Martin Alterisio wrote:
> Consider the following code:
>
> test.php:
> include 'foo.php';
> use test::foo;
> foo();
> ?>
>
> foo.php:
> namespace test;
> function foo() { }
> ?>
>
> Is it expected behavior that the scripts ends in:
> Fatal error: Call to undefined function foo()
> ?
Hi Martin