On 19 December 2017 at 08:06, Fleshgrinder <p...@fleshgrinder.com> wrote: > What is really needed are `scalar`, `number`, union types, intersection > types, and all that together with generics.
Do we have ongoing discussions or RFCs for those already? I know we have one for generics, which seems somehow stuck, https://wiki.php.net/rfc/generics What would "scalar" mean exactly? string+int+float? I would sometimes like a string+int, for "everything that can be an array key". -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php