Re: Symbol implementation

From: Date: Sat, 27 Apr 2019 21:19:40 +0000
Subject: Re: Symbol implementation
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-105476@lists.php.net to get a copy of this message
On Sat, 27 Apr 2019 at 22:05, Bruce Weirdan <weirdan@gmail.com> wrote: > > On Sat, Apr 27, 2019 at 11:57 PM Dan Ackroyd <Danack@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

« previous php.internals (#105476) next »