I'm not php noobie, but still can't understand this behaviour of references.
Anybody can show me where the hell is it documented ?
Or show any logical conclusions why is it act like this... Just anything.
Thanks.
Description:
See reproduce code.
Reproduce code:
---
I'm trying to build a tree of objects using PHP4, but I'm getting
tangled in reference problems. Some test code that illustrates the
problem:
class X {
var $parent;
var $ident;
var $kids;
function X ($parent,$number) {
$this-parent = $parent;
$this-ident = $number;
Title: RE: [PHP] Reference problem
I wrote an xml parsing class, and xml tag class, that might help you there
see the attachment
-Original Message-
From: John English [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 12:35 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject
3 matches
Mail list logo