note 91076 deleted from language.oop5.reflection by danbrown
| From: | danbrown@php.net | Date: | Mon, 25 May 2009 22:14:45 +0000 |
| Subject: | note 91076 deleted from language.oop5.reflection by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155993@lists.php.net to get a copy of this message | ||
Note Submitter: king dot isaac at gmail dot com
----
In response to richardcook at gmail dot com
To do this, create the array using references to anything that the constructor defines as being a
reference:
$reflectionClass->newInstanceArgs( array( &$this, &$this->arr ) );