Hi all,
I have encountered a tricky problem with PHP 4.3.1 (installed with
SuSE 8.2).
I don't know if it is a bug or not. Maybe is just me missing something.
What I'd like to do is to pass a reference of base_class instance to the
constructor of second_class (so that the newly created
= 100;
// here it is, base_class' some is accessible
?
HTH
Mukul Sabharwal
From: Fabio Rotondo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:38 AM
Subject: [PHP] Strange problem in class creation
Hi all,
I have encountered a tricky problem with PHP 4.3.1
Mukul Sabharwal wrote:
And the error is strange because you're doing
something strange!
I don't think I'm doing anything strange. What I have exposed here is a
simplification of my own class loader. I have the main class that must
load (include and then instance) other PHP classes.
The problem
And the error is strange because you're doing
something strange!
I don't think I'm doing anything strange. What I
have exposed here is a simplification of my own
class loader. I have the main class that must
load (include and then instance) other PHP classes.
The problem is that if
4 matches
Mail list logo