Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81610 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73508 invoked from network); 2 Feb 2015 16:52:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2015 16:52:54 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.208 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.208 imap2-3.ox.privateemail.com Received: from [192.64.116.208] ([192.64.116.208:42240] helo=imap2-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/48-34915-66BAFC45 for ; Mon, 02 Feb 2015 11:52:54 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 844A98C0080; Mon, 2 Feb 2015 11:52:51 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id emU7YF442EYJ; Mon, 2 Feb 2015 11:52:51 -0500 (EST) Received: from oa-res-26-240.wireless.abdn.ac.uk (oa-res-26-240.wireless.abdn.ac.uk [137.50.26.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 2C5A18C0057; Mon, 2 Feb 2015 11:52:48 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: Date: Mon, 2 Feb 2015 16:52:46 +0000 Cc: Derick Rethans , Dmitry Stogov , PHP Internals List Content-Transfer-Encoding: quoted-printable Message-ID: References: <8DCD1B72-C81D-499E-B455-E4A042CD76E6@ajf.me> <6C58B302-C78A-490B-A333-4D1A71334E19@ajf.me> To: Andrey Andreev X-Mailer: Apple Mail (2.2070.6) Subject: Re: [PHP-DEV] [RFC] Scalar Type Hints v0.2 From: ajf@ajf.me (Andrea Faulds) Hi Andrey, > On 2 Feb 2015, at 16:48, Andrey Andreev wrote: >=20 > As already said, we're just going around in circles at this point, but > a migration issue? >=20 > Whatever code using the scalar type hints should be *new* code in > userland. Why not existing userland code? If only new code adds type hints, the = ability to detect errors in code is severely curtailed. That would be = really unfortunate. > You're basing your whole argument on the assumption that all > internal functions would break with strict=3D1 ... nobody needs that = and > it doesn't have to be done. I wasn=E2=80=99t talking about internal functions=E2=80=A6 I=E2=80=99m = talking about userland code in the hypothetical case that we added = strict-only hints. I don=E2=80=99t see where you=E2=80=99ve gotten that impression from. Thanks. -- Andrea Faulds http://ajf.me/