Re: [PHP-DEV] [RFC] [Discussion] Never parameters

2025-03-12 Thread Yogarine
On 10 Mar 2025, at 20:07, Daniel Scherzer wrote: > Hi internals, > > I'd like to start discussion on a new RFC about allowing `never` for > parameter types when declaring a method. > > * RFC: https://wiki.php.net/rfc/never-parameters-v2 > * Implementation: https://github.com/php/php-src/pull/18

Re: [PHP-DEV] Forced named parameters

2025-05-19 Thread Yogarine
> Since PHP named args work similarly, borrowing syntax makes sense. It would > look like > > function f(Type $pos1, Type $pos2, ...$v, Type $named1, Type $named2) > > or without the variadic > > function f(Type $pos1, Type $pos2, ..., Type $named1, Type $named2) Hi Anton, I really like th

Re: [PHP-DEV] Year 2038 issue

2025-06-16 Thread Yogarine
Hi all, On 16 Jun 2025, at 17:24, Rob Landers wrote: > > > > On Mon, Jun 16, 2025, at 16:54, Alexandru Pătrănescu wrote: >> >> >> >> On Mon, Jun 16, 2025 at 4:03 PM Marc Bennewitz wrote: >> Hi all, >> >> It's 12.5 years only until the timestamps in PHP on 32bit will not work >> as expe