Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75712 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51523 invoked from network); 20 Jul 2014 14:54:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2014 14:54:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.45 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.192.45 mail-qg0-f45.google.com Received: from [209.85.192.45] ([209.85.192.45:40451] helo=mail-qg0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/60-48607-C38DBC35 for ; Sun, 20 Jul 2014 10:54:52 -0400 Received: by mail-qg0-f45.google.com with SMTP id f51so4575664qge.4 for ; Sun, 20 Jul 2014 07:54:49 -0700 (PDT) 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=rj1887+Tz/jjlJi33iESR1Aj01CNo4fCSNt6TUQN2Qg=; b=cLMuBGqQpUSFvtTGSgqO9dU8jXzV2ClPBRANyIt24h3OYrXAY/FZ0VE5F84KV/Nubc bn6aAi76QmsxF/os6O+I64rEmKb9yrhweCyKtrfYCPlo/w5oqxiPaK81j//Kbh0Zct6F wYrJGKXfZGgdMqVuzyRFC6WsV0WbbcYnWeC5NInBKOIECK42erjxN/EQNcxXFvV3inZl XOcID28+Rw2cJmH1yRMkMZvbnBKMFDWpZAon2gtwbOy2pHQc8bHCGw1usWaPGPW6bJX0 rReroRUqC4PA7vY0ZnAmbRelXVdcKITRrfzTaU+cVGuZu5c0PKEETXPjdwMEG0tAE1JB PHEQ== MIME-Version: 1.0 X-Received: by 10.224.163.11 with SMTP id y11mr31344180qax.43.1405868089367; Sun, 20 Jul 2014 07:54:49 -0700 (PDT) Received: by 10.140.102.111 with HTTP; Sun, 20 Jul 2014 07:54:49 -0700 (PDT) Received: by 10.140.102.111 with HTTP; Sun, 20 Jul 2014 07:54:49 -0700 (PDT) In-Reply-To: <233C783C-257F-453A-A694-96D1190907BF@ajf.me> References: <08503591-EFC8-48E6-984E-FFC292C5EA5F@ajf.me> <53C2178E.7070705@sugarcrm.com> <53CB70BC.4020001@php.net> <233C783C-257F-453A-A694-96D1190907BF@ajf.me> Date: Sun, 20 Jul 2014 16:54:49 +0200 Message-ID: To: Andrea Faulds Cc: "internals@lists.php.net >,>, PHP Internals" Content-Type: multipart/alternative; boundary=089e01538d5011691004fea12c40 Subject: Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) From: tyra3l@gmail.com (Ferenc Kovacs) --089e01538d5011691004fea12c40 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2014.07.20. 14:43, "Andrea Faulds" ezt =C3=ADrta: > > > On 20 Jul 2014, at 08:33, Sebastian Bergmann wrote: > > > Am 13.07.2014 07:22, schrieb Stas Malyshev: > >> I think it was a mistake to introduce this term from the start and > >> we should stop propagating it. > > > > What would be a better term? Optional strict typing in function and > > method signatures? > > This proposal=E2=80=99s scalar type hints (except for booleans) can=E2=80= =99t really be called =E2=80=9Cstrict=E2=80=9D. Perhaps =E2=80=9Cfirm typing=E2=80=9D? (It= =E2=80=99s not weak, but it=E2=80=99s not quite strong either) Stas and Sebastian are talking about the unfortunate naming of the current (non-scalar) typehints. --089e01538d5011691004fea12c40--