Hi

Please do not "top-post". Instead reply inline and cut the quoted parts to a minimum.

On 5/17/23 23:49, p...@shyim.de wrote:
No stripping would be needed at the end :)

I don't follow then.

Yes I would like to work on an proper RFC and make thoughts on the already 
given feedback here :)


Okay, let me add some additional questions for you to already think about:

- Should the function perform file system operations? Why? Why not?
- What is with stuff like Windows network shares that, to my understanding, have multiple directory separators next to each other? - Is the name of the function the best? I'd probably drop the underscore, because we already have 'pathinfo'.

I'd also like to use this opportunity to add a "+1" with regard to "make this a proper class for manipulating paths, similarly to Python's pathlib or so". I would find that much more useful than the proposed function.

Best regards
Tim Düsterhus

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to