Re: [RFC] path_join function
| From: | php at shyim dot de | Date: | Wed, 17 May 2023 21:49:25 +0000 |
| Subject: | Re: [RFC] path_join function | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120331@lists.php.net to get a copy of this message | ||
No stripping would be needed at the end :)
Yes I would like to work on an proper RFC and make thoughts on the already given feedback here :)
My wiki name is: shyim
Thanks!
> On 17. May 2023, at 17:36, Tim Düsterhus <tim@bastelstu.be> wrote:
>
> Hi
>
> On 5/17/23 16:54, php@shyim.de wrote:
>> When you concat just the paths you have to think about:
>> - normalize string part to strip ending slash
>
> Why is it necessary to strip the ending slash?
>
>> - for windows compatibility you have to use DIRECTORY_SEPERATOR
>
> I don't use Windows, but to the best of my knowledge, using the '/' is
> equivalent to the backslash. Is there a case where the difference matters?
>
>> I am really looking for your feedback, right now I have no “karma points” to create a
>> RFC in the wiki :)
>
> If you want to proceed with an actual RFC, the folks handing out the RFC karma would need your
> Wiki name.
>
> Best regards
> Tim Düsterhus