note 88807 deleted from language.references.pass by danbrown
| From: | danbrown@php.net | Date: | Mon, 09 Feb 2009 05:32:13 +0000 |
| Subject: | note 88807 deleted from language.references.pass by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150400@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
Responding to me at khurram dot nl below, they are not entirely the same.
$a = new A();
$b =& $a
$c = $a;
$a = new B();
get_class($b); // will output 'B'
get_class($c); // will output 'A'