On Sat, 27 Apr 2019 at 22:05, Bruce Weirdan <weir...@gmail.com> wrote: > > On Sat, Apr 27, 2019 at 11:57 PM Dan Ackroyd <dan...@basereality.com> 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
The first link has: > This documentation has moved to the function reference. Following that link we have: > Type declarations > > Note: > Type declarations were also known as type hints in PHP 5. > Type declarations allow functions to require that parameters are of a certain > type at call time. I'm sure there will be other places that need updating in the manual. But they should be updated to use the accurate term, rather than the misleading term. cheers Dan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php