note 71711 deleted from language.oop5.reflection by felipe
| From: | felipe@php.net | Date: | Thu, 24 Jan 2008 13:52:37 +0000 |
| Subject: | note 71711 deleted from language.oop5.reflection by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-135371@lists.php.net to get a copy of this message | ||
Note Submitter: rog_per at hotmail dot com
----
Two different scenaria returning an id:
$rc = new ReflectionClass("classExample");
$obj = $rc->newInstanceArgs($request->params);
1. classExample with a __construct() constructor
$obj is NOT the object id!!!
2. classExample with a classExample() constructor
$obj IS the object id
Must be a bug as far as I can see.