>> 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
Hi,
Do anybody know a work a round for this:
The problem hier is that $globals['test2'] is a copy of $globals['test1'] not a
references.
Anybody an idee?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo