Re: Methods Overloading in PHP
| From: | kontakt at beberlei dot de | Date: | Sun, 28 Feb 2021 13:21:16 +0000 |
| Subject: | Re: Methods Overloading in PHP | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-113328@lists.php.net to get a copy of this message | ||
Von meinem iPhone gesendet
> Am 28.02.2021 um 13:50 schrieb Eugene Sidelnyk <zsidelnik@gmail.com>:
>
> Hi there!
> I faced a lack of methods overloading in PHP once again and would like to
> ask will it be implemented at some point?
The way php implements methods and dynamic calling it is pretty unlikely this will get implemented.
See more info here: https://github.com/Danack/RfcCodex/blob/master/method_overloading.md
> As well, I want you to show some pros and cons which you see in this
> feature.
>
> Here're some thoughts about this by Yegor Bugayenko: