>> class test {
>> function test() {
>> $globals['test2'] = &$this;
>> }
>> }
>> $test1 = new test();
>>
>> The problem hier is that $globals['test2'] is a copy of
>> $globals['test1'] not a
>> references.
>
>Use "$GLOBALS" rather than "$globals"
I think he's building his o
On Wed, Jul 10, 2002 at 09:50:27AM -, Alex Elderson wrote:
>
> class test {
> function test() {
> $globals['test2'] = &$this;
> }
> }
> $test1 = new test();
>
> The problem hier is that $globals['test2'] is a copy of
> $globals['test1'] not a
> references.
Use "$GLOBAL
ðÒÉ×ÅÔ!
>
> class test {
> function test() {
> $globals['test2'] = &$this;
> }
> }
>
> $test1 = new test();
>
> ?>
>
> The problem hier is that $globals['test2'] is a copy of $globals['test1'] not a
> references.
It is, but you are looking in the wrong direction. the co
3 matches
Mail list logo