note 71711 added to language.oop5.reflection

From: Date: Wed, 13 Dec 2006 00:15:27 +0000
Subject: note 71711 added to language.oop5.reflection
Groups: php.notes 
Request: Send a blank email to php-notes+get-120561@lists.php.net to get a copy of this message
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. ---- Server IP: 193.27.201.10 (proxied: 193.27.201.10 1.0 www1.shellkonto.se:3128 (squid/2.5.STABLE4)) Probable Submitter: 213.89.66.70 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.reflection.php Edit -- https://master.php.net/note/edit/71711 Del: integrated -- https://master.php.net/note/delete/71711/integrated Del: useless -- https://master.php.net/note/delete/71711/useless Del: bad code -- https://master.php.net/note/delete/71711/bad+code Del: spam -- https://master.php.net/note/delete/71711/spam Del: non-english -- https://master.php.net/note/delete/71711/non-english Del: in docs -- https://master.php.net/note/delete/71711/in+docs Del: other reasons-- https://master.php.net/note/delete/71711 Reject -- https://master.php.net/note/reject/71711 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120561) next »