note 84763 added to language.oop5.reflection
| From: | gromit at mailinator dot com | Date: | Tue, 29 Jul 2008 08:37:23 +0000 |
| Subject: | note 84763 added to language.oop5.reflection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-142882@lists.php.net to get a copy of this message | ||
Be aware that calling the method newInstanceArgs with an empty array will still call the constructor
with no arguments. If the class has no constructor then it will generate an exception.
You need to check if a constructor exists before calling this method or use try and catch to act on
the exception.
----
Server IP: 92.48.74.199
Probable Submitter: 89.248.136.178
----
Manual Page -- http://www.php.net/manual/en/language.oop5.reflection.php
Edit -- https://master.php.net/note/edit/84763
Del: integrated -- https://master.php.net/note/delete/84763/integrated
Del: useless -- https://master.php.net/note/delete/84763/useless
Del: bad code -- https://master.php.net/note/delete/84763/bad+code
Del: spam -- https://master.php.net/note/delete/84763/spam
Del: non-english -- https://master.php.net/note/delete/84763/non-english
Del: in docs -- https://master.php.net/note/delete/84763/in+docs
Del: other reasons-- https://master.php.net/note/delete/84763
Reject -- https://master.php.net/note/reject/84763
Search -- https://master.php.net/manage/user-notes.php