note 26496 rejected from language.references.pass by nicos

From: Date: Fri, 01 Nov 2002 18:28:41 +0000
Subject: note 26496 rejected from language.references.pass by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38880@lists.php.net to get a copy of this message
But what if I'm trying to pass a class to use as a parent variable. For example: class parent { var $this; var $that; function parent() { } } class child { var $parent; function child(&$parent) { $this->parent = $parent; } } Changing it to "$this->parent = &$parent;" ought to work, but how can I make that compatible with future versions?

« previous php.notes (#38880) next »