On Sat, 27 Apr 2019 at 20:37, David Rodrigues <david.pro...@gmail.com> wrote: > > ES6 supports the Symbol type that is a replacement to hard-coded > identifiers where it are not really need.
This seems quite similar to the idea of enums. That Levi and Bob might have been working on: https://wiki.php.net/rfc/enum > typehint Please could people stop using that word. PHP's type system for parameters and return values are actual types, not just hints. cheers Dan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php