Jochem Maas wrote:
also I believe print_r() and var_dump() have a few odditities regarding
display of recursion with regard to objects... internals mailinglist
archive
might tell you more on that.
I think I have the answer, when I pass a var to print_r it isn't passed
by reference, so there will
Evert|Rooftop Solutions wrote:
Hi,
I have this piece of code:
class test1 {
var
$data = 'hi',
$node = false;
function test1() {
$this->node =& new test2($this);
}
}
class test2 {
var
$data = 'yoyo',
Hi,
I have this piece of code:
class test1 {
var
$data = 'hi',
$node = false;
function test1() {
$this->node =& new test2($this);
}
}
class test2 {
var
$data = 'yoyo',
$root = false;
fu
3 matches
Mail list logo