On Thu, 13 Oct 2005, Antony Dovgal wrote:
> On 13.10.2005 20:51, Marcus Bointon wrote:
>
> > in a.inc.php:
> >
> > > $a = 1;
> > ?>
> >
> > in b.class.php:
> >
> > > require 'a.inc.php';
> > class b {
> > function test() {
> > global $a;
> > echo $a;
> > }
> > }
>
On 13 Oct 2005, at 17:51, Marcus Bointon wrote:
I have another problem with included classes that seems to defy
explanation:
As usual there is a simple explanation for this one: I had a file
called 'config.php' lurking in one of the folders in my include path
- Deploying on Linux, I'd jus
On 13.10.2005 20:51, Marcus Bointon wrote:
in a.inc.php:
in b.class.php:
Works fine here.
Fatal error: Class 'Config' not found
Use absolute path everywhere ?
I can't reproduce it either.
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscrib