Re: Potential RFC: mb_rawurlencode() ?
Hi all,
> On Mar 20, 2025, at 01:31, youkidearitai <[email protected]> wrote:
>
> ---------- Forwarded message ---------
> From: youkidearitai <[email protected]>
> Date: 2025年3月20日(木) 14:41
> Subject: Re: [PHP-DEV] Potential RFC: mb_rawurlencode() ?
> To: Paul M. Jones <[email protected]>
>
>
> 2025年3月19日(水) 2:52 Paul M. Jones <[email protected]>:
>
>> If not, how do we feel about an RFC for mb_rawurlencode()? A naive userland implementation
>> might look something like the code below.
>>
>> Thoughts?
>>
>> * * *
>>
>> ```php
>> function mb_rawurlencode(string $string) : string
>
> Hi, Paul.
>
> I think signature is below:
>
> ```php
> function mb_rawurlencode(string $string, string $encode): string {}
> ```
Ah yes, you're right -- probably ?string $encode = null
to match with mb_substr().
> Oops, I missing to send to internals.
> Sorry resend this is.
Not to worry, thank you!
-- pmj
Thread (6 messages)