Re: [PHP-DEV] Renaming "strict types" to "scalar type coercion"

2024-06-18 Thread David Gebler
On Tue, 18 Jun 2024, 17:40 Robert Landers, wrote: > Hello internals, > > Many, many people start their files fairly religiously: > > > and I say "religiously" because from talking to people in real life, > reddit, workplaces, etc, very few php programmers actually know what > this does but do it

Re: [PHP-DEV] Renaming "strict types" to "scalar type coercion"

2024-06-18 Thread Rowan Tommins [IMSoP]
On 18/06/2024 17:37, Robert Landers wrote: One thing is clear is that "strict types" may be a bit of poor word choice and gives people a false sense of security that it is "safe" or "more correct" when this obviously isn't true. I totally agree with this sentiment. I don't think it should be c

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

2024-06-18 Thread Larry Garfield
On Tue, Jun 18, 2024, at 5:45 PM, Arnaud Le Blanc wrote: > Hi Larry, > > Following your feedback we propose to amend the API as follows: > > ``` > class ReflectionClass > { > public function newLazyProxy(callable $factory, int $options): object {} > > public function newLazyGhost(callable $

[PHP-DEV] RFC karma request

2024-06-18 Thread Bilge
Hi Internals, Re: Static class, I would like to propose an RFC for this feature. My wiki account is: bilge. Cheers, Bilge

Re: [PHP-DEV] Renaming "strict types" to "scalar type coercion"

2024-06-18 Thread Claude Pache
Hi, > One thing is clear is that "strict types" may be a bit of poor word > choice and gives people a false sense of security that it is "safe" or > "more correct" when this obviously isn't true. Thus, I'd like to > propose, for PHP 9, simply renaming it from strict_types to > scalar_type_coercion

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

2024-06-18 Thread Arnaud Le Blanc
Hi Larry, Following your feedback we propose to amend the API as follows: ``` class ReflectionClass { public function newLazyProxy(callable $factory, int $options): object {} public function newLazyGhost(callable $initializer, int $options): object {} public function resetAsLazyProx

Re: [PHP-DEV] Wiki registration and request RFC karma

2024-06-18 Thread Erick de Azevedo Lima
> I have granted you RFC karma. Good luck! Thank you, Ilija > Note that the RFC process suggests first introducing the concept on > the list first, before writing an RFC. You might save yourself some > time if the idea turns out not to be desired. Yes, I know. I started creating the RFC implement

[PHP-DEV] Renaming "strict types" to "scalar type coercion"

2024-06-18 Thread Robert Landers
Hello internals, Many, many people start their files fairly religiously:

Re: [PHP-DEV] Wiki registration and request RFC karma

2024-06-18 Thread Ilija Tovilo
Hi Erick On Mon, Jun 17, 2024 at 11:46 PM Erick de Azevedo Lima wrote: > > I've been reading the internals mailing list for some time and giving my 2 > cents here and there. > Now I have created a new wiki account (erickcomp) and I'd like to request RFC > karma for a new RFC I worked on during