Hi Yasuo,

You probably talk about https://wiki.php.net/rfc/expectations
I wasn't the author of idea, I just helped with thoughts and implantation.
I think it may be useful for PHP7.

Thanks. Dmitry.








On Tue, Feb 3, 2015 at 11:12 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:

> Hi Dmitry,
>
> On Mon, Feb 2, 2015 at 6:12 PM, Dmitry Stogov <dmi...@zend.com> wrote:
>
>> could you please write down few use cases, when strict scalar type hints
>> are really useful.
>>
>
> I'm not opposing to have scalar type hints, but assertion can do better job
> for it. I think you have proposed assert() w/o runtime overhead. Is this
> included in PHP7? Enable by opcache, perhaps?
>
> Sorry for OT. I'm curious.
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohg...@ohgaki.net
>

Reply via email to