On Sat, 27 Apr 2019 at 22:05, Bruce Weirdan wrote:
>
> On Sat, Apr 27, 2019 at 11:57 PM Dan Ackroyd wrote:
>
> > > typehint
> >
> > Please could people stop using that word. PHP's type system for
> > parameters and return values are actual types, not just hints.
>
> People use the term PHP itself
On Sat, Apr 27, 2019 at 11:57 PM Dan Ackroyd wrote:
> > typehint
>
> Please could people stop using that word. PHP's type system for
> parameters and return values are actual types, not just hints.
People use the term PHP itself uses:
https://www.php.net/results.php?q=typehint&l=en&p=all
--
On Sat, 27 Apr 2019 at 20:37, David Rodrigues 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
> typeh