note 120415 deleted from reflectionclass.getmethod by peehaa
| From: | peehaa@php.net | Date: | Fri, 06 Jan 2017 16:14:21 +0000 |
| Subject: | note 120415 deleted from reflectionclass.getmethod by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208739@lists.php.net to get a copy of this message | ||
Note Submitter: chronologic
----
It would appear based on my test case that getMethod is case sensitive, even though php method names
are case insensitive. This should be noted as it is not the behavior one would expect. Although,
if I didn't know better, I would actually expect and prefer PHP method names were case
sensitive. It is simply inconsistent that you can execute the method using a name that will not
return a match using reflection.