Re: Symbol implementation
| From: | Dan Ackroyd | Date: | Sat, 27 Apr 2019 20:57:23 +0000 |
| Subject: | Re: Symbol implementation | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105474@lists.php.net to get a copy of this message | ||
On Sat, 27 Apr 2019 at 20:37, David Rodrigues <david.proweb@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