Re: What do we need strict scalar type hints for?
From: Yasuo Ohgaki Date: Tue, 03 Feb 2015 20:12:59 +0000 Subject: Re: What do we need strict scalar type hints for? References: 1 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
Hi Dmitry, On Mon, Feb 2, 2015 at 6:12 PM, Dmitry Stogov <[email protected]> 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 [email protected]
Thread (78 messages)
« previous | php.internals (#81735) | next » |
---|