Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85569 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45403 invoked from network); 30 Mar 2015 22:01:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2015 22:01:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=linepogl@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=linepogl@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.172 as permitted sender) X-PHP-List-Original-Sender: linepogl@gmail.com X-Host-Fingerprint: 209.85.212.172 mail-wi0-f172.google.com Received: from [209.85.212.172] ([209.85.212.172:38688] helo=mail-wi0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/E4-17871-D97C9155 for ; Mon, 30 Mar 2015 17:01:01 -0500 Received: by wibgn9 with SMTP id gn9so2473187wib.1 for ; Mon, 30 Mar 2015 15:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=vdlw/Iz06oUpv04adWF9FmeFAD9xVQZR7JniDSSVx0E=; b=TreX4UdByxLLYvEBVbTsuggDJXbNLTsmH7O6qyR6BrGOsJxrTx8YjARj/0qGEMbhDu +5Y7VHHvYrqys5t49byzQ7asze56KQorT7so53+aUu7tsXmybhow0jGKqjI67xX5Obxa HN47W//xo+fe+qvWqYVMoXap57VVT70tdwdWQX81M9xqrypBCOFY1/HJjcclRsJtpgiU Qjwuy87rVE59wUXPyeJlyIB0/8bn8cOeki9pfC2cAsAvFHtMy4avl2GvEZQpQDwD92qa Y9/CcUXrN6zhfPpf1fK8HdX0LTLfPb1ZnFt8L77d+wEHlpgaUaKcaOStsCqw6XOtdFwZ NJ7A== X-Received: by 10.195.11.73 with SMTP id eg9mr66271286wjd.62.1427752858387; Mon, 30 Mar 2015 15:00:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.99.212 with HTTP; Mon, 30 Mar 2015 15:00:38 -0700 (PDT) In-Reply-To: <55197A0E.8050203@gmx.de> References: <3a939905cd5a06158c9e99d8af26e596@mail.gmail.com> <55197A0E.8050203@gmx.de> Date: Tue, 31 Mar 2015 00:00:38 +0200 Message-ID: To: Christoph Becker Cc: Zeev Suraski , PHP internals Content-Type: multipart/alternative; boundary=047d7bb70910f38c690512889dd3 Subject: Re: [PHP-DEV] Re: Naming of 'weak' type hints From: linepogl@gmail.com (Lazare Inepologlou) --047d7bb70910f38c690512889dd3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Zeev Suraski wrote: > One thing that I think we should change is how we refer to the =E2=80=98w= eak=E2=80=99 type > hints. The word =E2=80=98weak=E2=80=99 has a negative ring to it, and co= nsidering this is > how the language behaves across the board it=E2=80=99s a pretty bad name = for this > feature. Borrowing from C#, I would suggest the names implicit and explicit argument types. There is nothing "weak" about them, they just do an implicit conversion which can be quite powerful if used correctly. In the future, I hope that we will have implicit object conversions in addition to the scalar ones. Lazare INEPOLOGLOU Ing=C3=A9nieur Logiciel --047d7bb70910f38c690512889dd3--