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
I posted this on general a while ago and the only conclusion anyone
could come to is that there's a PHP bug somewhere. I'm running a snap
of 5.1 from today on OS X 10.4.2, and I've seen the same symptoms on
RedHat EL4. Before I report something does anyone here have any idea
what could be a