note 76506 added to language.oop5.reflection
| From: | massimo at mmware dot it | Date: | Wed, 18 Jul 2007 15:58:55 +0000 |
| Subject: | note 76506 added to language.oop5.reflection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128693@lists.php.net to get a copy of this message | ||
I found these limitations using class ReflectionParameter from ReflectionFunction with INTERNAL
FUNCTIONS (eg print_r, str_replace, ... ) :
1. parameter names don't match with manual: (try example 19.35 with arg
"call_user_func" )
2. some functions (eg PCRE function, preg_match etc) have EMPTY parameter names
3. calling getDefaultValue on Parameters will result in Exception "Cannot determine default
value for internal functions"
----
Server IP: 213.92.11.19
Probable Submitter: 88.36.227.58
----
Manual Page -- http://www.php.net/manual/en/language.oop5.reflection.php
Edit -- https://master.php.net/note/edit/76506
Del: integrated -- https://master.php.net/note/delete/76506/integrated
Del: useless -- https://master.php.net/note/delete/76506/useless
Del: bad code -- https://master.php.net/note/delete/76506/bad+code
Del: spam -- https://master.php.net/note/delete/76506/spam
Del: non-english -- https://master.php.net/note/delete/76506/non-english
Del: in docs -- https://master.php.net/note/delete/76506/in+docs
Del: other reasons-- https://master.php.net/note/delete/76506
Reject -- https://master.php.net/note/reject/76506
Search -- https://master.php.net/manage/user-notes.php