Re: RFC [Discussion]: mb_str_pad
| From: | Niels Dossche | Date: | Mon, 22 May 2023 14:50:32 +0000 |
| Subject: | Re: RFC [Discussion]: mb_str_pad | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120387@lists.php.net to get a copy of this message | ||
Hi
On 5/22/23 00:08, Jorg Sowa wrote:
> Hello,
> As this is a new function do you consider any namespace for it? Based on
> passed RFC[1] allowing for namespaces in bundled extensions it would be
> nice to introduce new functions with namespace. Maybe the namespace could
> be voted in the RFC separately?
Tim already answered the first question, and I agree with his answer (thanks for looking it up Tim).
Introducing a single function to a new namespace doesn't make much sense to me.
If we'd want to alias the mbstring functions in a namespace then this should go into a separate
RFC in my opinion.
>
> Kind regards,
> Jorg
>
> [1] https://wiki.php.net/rfc/namespaces_in_bundled_extensions
>
Kind regards
Niels