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 ve

[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

Re: [PHP-DEV] Introduction - SuitespaceRnD

2023-04-23 Thread Garet Claborn
land symbols. Example / TL:DR: I may presently write $selected = $list[ $x ]; Whether $x=0 or $x='apple', I am not required to use $list[ $x->value ] Symbols map to their value without requiring ->value, but retain typesafety in many contexts. Ultimately we do want to get there but start at values.

[PHP-DEV] Introduction - SuitespaceRnD

2023-04-19 Thread Garet Claborn
Hello PHP Internals, I am Garet Claborn, CTO for Suitespace Inc <https://www.getsuiteux.com/>, leading up our R team. Just registered and my PHP Wiki username is: *suitespacernd* We use PHP extensively in our projects. Specifically I finally registered as I have written up an RFC in re