Re: Scalar Type Intentions
| From: | Pierre Joye | Date: | Thu, 01 Mar 2012 09:13:46 +0000 |
| Subject: | Re: Scalar Type Intentions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58399@lists.php.net to get a copy of this message | ||
hi Sebastian,
On Thu, Mar 1, 2012 at 3:36 AM, Sebastian Bergmann <sebastian@php.net> wrote:
usually does not work.
>
> 2) What you want to achieve is already possible through docblocks.
I am not saying that I like the idea of scalar type arguments, but you
keep saying that docblocks solve such issue. They are totally
unrelated to what is discussed here, they are documentations. They
have nothing to do with runtime information (The same concept applied
to the annotations, if you remember it).
However, following your logic, class type hinting was a mistake?
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org