Re: [RFC] [Discussion] Followup Improvements for ext/uri
| From: | Máté Kocsis | Date: | Wed, 15 Apr 2026 22:27:07 +0000 |
| Subject: | Re: [RFC] [Discussion] Followup Improvements for ext/uri | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-130655@lists.php.net to get a copy of this message | ||
Hi Everyone,
I don't have a strong preference between “instance methods on an enum”
> and “free-standing functions”, but I have a strong preference against
> “static methods”.
>
After all the feedback, I chose the "instance methods on an enum” solution
at last.
I don't say that I love it, I was perfectly happy with the static method
solution, even
if this functionality was a tiny little bit less related to URIs then the
rest of the methods.
Thanks again to Ignace, for finding out this unorthodox, but still genuine
solution.
Regards,
Máté