note 82334 deleted from language.oop.newref by danbrown
| From: | danbrown@php.net | Date: | Sat, 07 Nov 2009 19:07:08 +0000 |
| Subject: | note 82334 deleted from language.oop.newref by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162579@lists.php.net to get a copy of this message | ||
Note Submitter: homo dot alpinus at gmail dot com
----
Because new returns a reference since PHP 5.x using =& references the reference to the class.