Re: Drop warning about non-public magic methods
| From: | Mark Randall | Date: | Mon, 13 Jul 2020 19:32:17 +0000 |
| Subject: | Re: Drop warning about non-public magic methods | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110982@lists.php.net to get a copy of this message | ||
On 13/07/2020 19:32, Gabriel Caruso wrote:
This warning does not make much sense as the magic method is executed regardless of its visibility. Should it be dropped? This seems to be the bigger issue... if something is specified as private, nothing outside its scope has any rights to access it, and that it does feels unexpected.__call should be checked for access IMHO.