Re: [PHP-DEV] [RFC]I'd like to see the RFCs that deprecate the FFI non-static approach start voting

2024-07-05 Thread shinji igarashi
Hi! I am rather more in favour of what you are proposing than the removal of static calls to FFI methods. In my opinion, it would be possible to drop the deprecation if it is agreed in the RFC process. The static access to FFI methods is not yet a feature actually removed, and I think it may even

Re: [PHP-DEV] [PHP-Dev] Versioned Packagers (Iteration IV)

2024-07-05 Thread Mike Schinkel
> On Jul 5, 2024, at 1:47 PM, Michael Morris wrote: > I went to sleep thinking about this post, on import maps in general and how > Composer works, specifically when you use a class map instead of the PSR-0 or > PSR-4 schemes. In that mode, Composer does pretty much what I've described. > Thi

[PHP-DEV] [RFC]I'd like to see the RFCs that deprecate the FFI non-static approach start voting

2024-07-05 Thread chopins xiao
My Submit RFC: https://wiki.php.net/rfc/ffi-non-static-deprecated Since no one responded to the first announcement, I am not sure if anyone agrees, so I will announce it again。 Since this RFC is the opposite of a PR, and the PR has already been merged and is expected to be released in PHP 8.4, ca

Re: [PHP-DEV] [RFC] Deprecations for PHP 8.4

2024-07-05 Thread Mike Schinkel
> On Jul 5, 2024, at 1:11 PM, Claude Pache wrote: >> Le 25 juin 2024 à 16:36, Gina P. Banyard a écrit : >> https://wiki.php.net/rfc/deprecations_php_8_4 > > > * About strtok(): An exact replacement of `strtok()` that is reasonably > performant may be constructed with a sequence of strspn(...)

Re: [PHP-DEV] [PHP-Dev] Versioned Packagers (Iteration IV)

2024-07-05 Thread Michael Morris
On Fri, Jul 5, 2024 at 2:23 PM Dusk wrote: > > To that end - consider the following. Let's say that two different files > in your project import different versions of package Foo. Foo contains a > definition of the FooBar class, and contains functions which return that > object. > > 1) If $foobar

Re: [PHP-DEV] [RFC] [Discussion] Add bcdivmod to BCMath

2024-07-05 Thread Tim Düsterhus
Hi On 6/30/24 18:08, Rob Landers wrote: We can argue the semantics of input/output, but the point still stands that return by reference is still more common than structured array, and even then, those are usually much bigger things. Happy to argue with you. I explained for each of the examp

Re: [PHP-DEV] [RFC] Lazy Objects

2024-07-05 Thread Tim Düsterhus
Hi On 7/2/24 17:49, Arnaud Le Blanc wrote: I'm curious, how did the implementation look like? Is there a proof of concept commit or patch available somewhere? As the author of the first internal enum (Random\IntervalBoundary) I had the pleasure of finding out that there was no trivial way to eff

Re: [PHP-DEV] [RFC] Lazy Objects

2024-07-05 Thread Tim Düsterhus
Hi On 7/2/24 16:48, Nicolas Grekas wrote: Thanks for the detailed feedback again, it's very helpful! Let me try to answer many emails at once, in chronological order: Note that this kind of bulk reply make it very hard for me to keep track of mailing list threads. It breaks threading, which m

Re: [PHP-DEV] [PHP-Dev] Versioned Packagers (Iteration IV)

2024-07-05 Thread Dusk
On Jul 3, 2024, at 17:16, Michael Morris wrote: > Can PHP support multiple packages without rewriting the whole engine? I > think so, but it isn't trivial, and the side effects need to be cordoned off > so that those who need this complexity can have it while the beginning and > intermediate c

Re: [PHP-DEV] [PHP-Dev] Versioned Packagers (Iteration IV)

2024-07-05 Thread Michael Morris
On Fri, Jul 5, 2024 at 1:29 AM Mike Schinkel wrote: > On Jul 4, 2024, at 9:16 PM, Michael Morris wrote: > On Wed, Jul 3, 2024 at 11:11 PM Mike Schinkel wrote: > >> So I've had more time to mull this over, and some research, and I think I >> have an approach. > > > First, instead of 'import', us

Re: [PHP-DEV] [RFC] Property Hook improvements

2024-07-05 Thread Tim Düsterhus
Hi On 7/1/24 22:57, Larry Garfield wrote: Are there specific concerns you have about implications, or just a general "dude, it's July" sense? From my side primarily "dude, it's July", because I do not want to think this through right now. Claude did the thinking, though and I agree with th

Re: [PHP-DEV] [RFC] Deprecations for PHP 8.4

2024-07-05 Thread Claude Pache
> Le 25 juin 2024 à 16:36, Gina P. Banyard a écrit : > > Hello internals, > > It is this time of year again where we proposed a list of deprecations to add > in PHP 8.4: > > https://wiki.php.net/rfc/deprecations_php_8_4 > Hi, * For each deprecation, it would be nice to provide explicitly

[PHP-DEV] PHP 8.4.0alpha1 is available for testing

2024-07-05 Thread ericmann
PHP 8.4.0alpha1 has just been released and can be downloaded from: https://downloads.php.net/~saki Or use the git tag: php-8.4.0alpha1 Windows binaries are available at: https://windows.php.net/qa/ This is the first official release

Re: [PHP-DEV] [VOTE] Correctly name the rounding mode and make it an Enum

2024-07-05 Thread Tim Düsterhus
Hi On 7/3/24 08:32, Tim Düsterhus wrote: RFC Text: https://wiki.php.net/rfc/correctly_name_the_rounding_mode_and_make_it_an_enum Discussion Thread: https://externals.io/message/123472 I have just added a link to the implementation of the enum and the changes to `round()` to the RFC. Saki will

[PHP-DEV] PHP 8.3.9 Released

2024-07-05 Thread Jakub Zelenka
The PHP development team announces the immediate availability of PHP 8.3.9. This is a bugfix release. All PHP 8.3 users are encouraged to upgrade to this version. For source downloads of PHP 8.3.9 please visit our downloads page: https://www.php.net/downloads Windows source and binaries can be fo