Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75492 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37739 invoked from network); 14 Jul 2014 17:11:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2014 17:11:45 -0000 Authentication-Results: pb1.pair.com header.from=addw@phcomp.co.uk; sender-id=permerror Authentication-Results: pb1.pair.com smtp.mail=addw@phcomp.co.uk; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain phcomp.co.uk designates 78.32.209.33 as permitted sender) X-PHP-List-Original-Sender: addw@phcomp.co.uk X-Host-Fingerprint: 78.32.209.33 freshmint.phcomp.co.uk Received: from [78.32.209.33] ([78.32.209.33:49281] helo=mint.phcomp.co.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/B9-25444-F4F04C35 for ; Mon, 14 Jul 2014 13:11:44 -0400 Received: from addw by mint.phcomp.co.uk with local (Exim 4.72) (envelope-from ) id 1X6jmu-0001vS-M0 for internals@lists.php.net; Mon, 14 Jul 2014 18:11:40 +0100 Date: Mon, 14 Jul 2014 18:11:40 +0100 To: internals@lists.php.net Message-ID: <20140714171140.GF27743@phcomp.co.uk> Mail-Followup-To: internals@lists.php.net References: <08503591-EFC8-48E6-984E-FFC292C5EA5F@ajf.me> <53C3F70A.7010706@gmail.com> <3aa29e080d70c843713e19a952dfbad6@mail.gmail.com> <53C401CC.6010107@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53C401CC.6010107@gmail.com> Organization: Parliament Hill Computers Ltd User-Agent: Mutt/1.5.20 (2009-12-10) Subject: Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) From: addw@phcomp.co.uk (Alain Williams) 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