Re: [PHP-DEV] Request for RFC Karma - Enum value semantics proposal

2023-04-30 Thread Larry Garfield
On Fri, Apr 28, 2023, at 4:47 PM, Garet Claborn wrote: > You are correct, thank you. > > The RFC draft has been posted to > https://wiki.php.net/rfc/treat_enum_instances_as_values > > -Garet I have already explained at length on the PR thread why this is a fundamentally wrong way to approach

Re: [PHP-DEV] Request for RFC Karma - Enum value semantics proposal

2023-04-29 Thread Lynn
On Fri, Apr 28, 2023 at 11:48 PM Garet Claborn wrote: > You are correct, thank you. > > The RFC draft has been posted to > https://wiki.php.net/rfc/treat_enum_instances_as_values > > -Garet > > I think this example should be "mixed" instead of "$mixed"? `public function offsetGet($mixed

Re: [PHP-DEV] Request for RFC Karma - Enum value semantics proposal

2023-04-28 Thread Lokrain
Hello everyone, Would this change affect WeakMap somehow? Regards, Dimitar On Sat, 29 Apr 2023 at 0:48, Garet Claborn wrote: > You are correct, thank you. > > The RFC draft has been posted to > https://wiki.php.net/rfc/treat_enum_instances_as_values > > -Garet > > On Tue, Apr 25, 2023 at 8:14 

Re: [PHP-DEV] Request for RFC Karma - Enum value semantics proposal

2023-04-28 Thread Garet Claborn
You are correct, thank you. The RFC draft has been posted to https://wiki.php.net/rfc/treat_enum_instances_as_values -Garet On Tue, Apr 25, 2023 at 8:14 AM Tim Düsterhus wrote: > Hi > > On 4/25/23 14:54, Garet Claborn wrote: > > I am requesting RFC karma to post the present version of an RFC

Re: [PHP-DEV] Request for RFC Karma - Enum value semantics proposal

2023-04-25 Thread Tim Düsterhus
Hi On 4/25/23 14:54, Garet Claborn wrote: I am requesting RFC karma to post the present version of an RFC made in response to the GitHub issue found at https://github.com/php/php-src/issues/9208 You should have already been granted RFC karma yesterday by derick, he told me that the Wiki

[PHP-DEV] Request for RFC Karma - Enum value semantics proposal

2023-04-25 Thread Garet Claborn
Relating to the existing thread in my introduction: Re: [PHP-DEV] Introduction - SuitespaceRnD I am requesting RFC karma to post the present version of an RFC made in response to the GitHub issue found at https://github.com/php/php-src/issues/9208 Though any guidance or contributions from those