Re: [RFC] Scalar Type Hints v0.2

From: Date: Mon, 02 Feb 2015 08:53:46 +0000
Subject: Re: [RFC] Scalar Type Hints v0.2
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 02/02/2015 09:49, Michael Wallner wrote:
On 02 02 2015, at 00:49, Andrea Faulds <[email protected]> wrote: Good evening, The RFC has been updated to cover return types, since Levi’s Return Types RFC has passed. The patch is a work in progress: it works, but lacks tests for return types. Version 0.3 of the RFC can be found here: https://wiki.php.net/rfc/scalar_type_hints
I think v0.1 had pretty good chances to get accepted, but I’m not so sure about anything that followed. I’m definitely -1 on declare(strict).
I agree. I understand that someone might prefer strict typing, but declare() seems so different from anything else in php. I think I've only used it when I needed signal handling and even in that case it felt so weird. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/

Thread (148 messages)

« previous php.internals (#81567) next »