note 108103 deleted from reflectionclass.getmethods by cmb
| From: | cmb@php.net | Date: | Thu, 29 Sep 2016 10:26:44 +0000 |
| Subject: | note 108103 deleted from reflectionclass.getmethods by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206702@lists.php.net to get a copy of this message | ||
Note Submitter: erik at dubbelboer dot com
----
The $filter uses an OR to filter the methods.
So php ReflectionMethod::IS_STATIC | ReflectionMethod::IS_PUBLIC will return all methods which are
static or public methods, NOT only the methods which are both static and private.