Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81876 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1969 invoked from network); 5 Feb 2015 08:47:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2015 08:47:07 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.43 mail-qa0-f43.google.com Received: from [209.85.216.43] ([209.85.216.43:38913] helo=mail-qa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/98-51979-A0E23D45 for ; Thu, 05 Feb 2015 03:47:07 -0500 Received: by mail-qa0-f43.google.com with SMTP id v10so4962427qac.2 for ; Thu, 05 Feb 2015 00:47:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=V1zaWaXH1IWIaTyFag/HOHA9nBZ7eQYVGZ/QYRtBWgU=; b=TQDa7gqVzAk1vCIl3mI/SbDEDdVhfKOVU5Cn3gIeRMLjv2xQN+QOgtcXmcXYJg/H3p BUaHvjk30zZdAcomKP+4hskWjxgaSPqMhkHlzyIlxgEiAENz60VRcp/KN7Yn7gnCzNx6 2GCrGcB7oy6BQ/Gr1WsZlQosF5eHm375gVUXSAHzO7BytPH6dymuqi6DuAga8SDTVRvy XpRDZF1gVWD06RTMr/y+6fen3tYe1DTQvB1iXpfq4dDiwJESiaGvrd/dbmBc2CLNGze7 O3/exfKsdqIxA11cFBCGX8rCxYeKp8ApvhPs94pn4mHYcCee/HfIIouqWScy95x32+W8 qrOg== MIME-Version: 1.0 X-Received: by 10.229.37.136 with SMTP id x8mr6080069qcd.30.1423126023641; Thu, 05 Feb 2015 00:47:03 -0800 (PST) Received: by 10.96.3.168 with HTTP; Thu, 5 Feb 2015 00:47:03 -0800 (PST) In-Reply-To: <54D31A25.3040905@gmail.com> References: <00c101d04049$ca411ec0$5ec35c40$@tekwire.net> <54D1CA7C.8060204@php.net> <54D1E6EC.7060702@php.net> <54D2B3FA.6020900@gmail.com> <54D2C018.6050803@gmail.com> <54D31A25.3040905@gmail.com> Date: Thu, 5 Feb 2015 15:47:03 +0700 Message-ID: To: Stanislav Malyshev Cc: Andrey Andreev , Sebastian Bergmann , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] What do we need strict scalar type hints for? From: pierre.php@gmail.com (Pierre Joye) On Thu, Feb 5, 2015 at 2:22 PM, Stanislav Malyshev wrote: > Hi! > >> True, but obviously, us who want strict typehints want to be able to do this: > > Obviously, but it doesn't mean whole language should be changed to serve > one use case, especially the one that goes contrary to what happened in > PHP for decades. I understand that argument. However I feel like the fact that it only affects your app (even if you use a library relying on strictness) if you want to is not clear for everyone replying here. Is this point clear for you? -- Pierre @pierrejoye | http://www.libgd.org