Re: [PHP-DEV] Filesystem path APIs

2023-12-06 Thread Ayesh Karunaratne
> > There could be OOP-style alternatives too, e.g. Rust has a PathBuf struct > with methods that are used to build paths. > However if we were to choose this route then we need to be aware that > interoperability with existing filesystem functions would be much harder > because they all work di

Re: [PHP-DEV] Proposal: Arbitrary precision native scalar type

2023-12-06 Thread Ben Ramsey
> On Dec 7, 2023, at 00:36, Alex Pravdin wrote: > > Hello internals, > > > This is the second round of the discussion regarding arbitrary precision > scalar type integration into PHP. The previous part: > https://marc.info/?l=php-internals&m=168250492216838&w=2 was initiated by me > before d

Re: [PHP-DEV] New "PECL"

2023-12-06 Thread Remi Collet
Le 05/12/2023 à 14:45, Derick Rethans a écrit : https://docs.google.com/document/d/1_N0E9xo3jn9aKrIZHIbTYaY5lXw71BpSO6-it4cRpDo In this first stage, we would like to invite you in commenting on the document (either inline, or here). As inline requires a Google account... > priority (optional)

[PHP-DEV] Proposal: Arbitrary precision native scalar type

2023-12-06 Thread Alex Pravdin
Hello internals, This is the second round of the discussion regarding arbitrary precision scalar type integration into PHP. The previous part: https://marc.info/?l=php-internals&m=168250492216838&w=2 was initiated by me before deep diving into the work with decimals in PHP. After 6 months of

[PHP-DEV] Re: [RFC] [Discussion] Improve callbacks in ext/dom and ext/xsl

2023-12-06 Thread Niels Dossche
Hi again On 04/12/2023 23:11, Niels Dossche wrote: > Hi internals > > On 07/11/2023 20:32, Niels Dossche wrote: >> Hi internals >> >> I'm opening the discussion for my RFC "Improve callbacks in ext/dom and >> ext/xsl". >> RFC link: https://wiki.php.net/rfc/improve_callbacks_dom_and_xsl >> >> Kin

[PHP-DEV] Filesystem path APIs

2023-12-06 Thread Niels Dossche
Hi internals I'd like to start a pre-RFC discussion about filesystem path APIs in PHP. The reason I bring this up is because of this recent feature request: https://github.com/php/php-src/issues/11258 The feature request is about the following: We already have some functions to work with paths