Re: [RFC] Scalar Type Hinting With Casts (re-opening)

From: Date: Mon, 14 Jul 2014 17:11:40 +0000
Subject: Re: [RFC] Scalar Type Hinting With Casts (re-opening)
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-75492@lists.php.net to get a copy of this message
On Mon, Jul 14, 2014 at 05:14:04PM +0100, Rowan Collins wrote: > The only *consistent* behaviour is strict validation, period. If you > want that, use Hack; if you want some other kind of type hint, it > has to introduce something new. Since we are looking at doing this what good reason is there for not adopting the syntax & some of the semantics of Hack ? http://docs.hhvm.com/manual/en/hack.annotations.php NIH is not a good reason. NIH = Not Invented Here -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include <std_disclaimer.h>

« previous php.internals (#75492) next »