Hi,

Do anybody know a work a round for this:


<?php

  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.

Anybody an idee?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to