Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58704 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1548 invoked from network); 6 Mar 2012 23:35:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2012 23:35:09 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qy0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:41116] helo=mail-qy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/34-15021-A2F965F4 for ; Tue, 06 Mar 2012 18:35:08 -0500 Received: by qcmt36 with SMTP id t36so3307146qcm.29 for ; Tue, 06 Mar 2012 15:35:02 -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:content-transfer-encoding; bh=x3WHKcbPfT2w1KjWJo6klV8DRiYvsLmZuqwA5Lo1Djo=; b=Onn3Vk1x1u+wcuQj/gskG132ayGyZx4ZDBmY8g7c5/ezJEbBxlG2Fxj5tmxXzmMN7f 4VHs8pG94cIttvZLeJJd9a1SWGz54DRzgt13xVZEBl4KZ6d94BCt7krdTsIlI2bo7wbc WJ4rzcCTENCU0QKcu2JL/WZnuyO8DBNg8RpngHwNC7p66+mbzZN8dQT1K7pfS3eiPlTm TRRGOmuOeOpv80HCSyxxJIlfb+MuSzf2V890dD0YgUPOWAz+DYymVC11ajnDyiXehuSe kPtHtB7FlMMXQzUrI5u0ll4MwuqERSWmE0DWGOnqvM0BknwuulQdRdTjzxSOt/xgBe1L Cwtw== MIME-Version: 1.0 Received: by 10.224.182.201 with SMTP id cd9mr146843qab.92.1331076902341; Tue, 06 Mar 2012 15:35:02 -0800 (PST) Received: by 10.229.49.74 with HTTP; Tue, 6 Mar 2012 15:35:02 -0800 (PST) In-Reply-To: References: Date: Tue, 6 Mar 2012 18:35:02 -0500 Message-ID: To: Simon Schick Cc: Kris Craig , Raymond Irving , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Scalar Type Hinting From: ircmaxell@gmail.com (Anthony Ferrara) My concern is the total lack of talk on-list about it. It's obviously not perfect, but there has been little to no talk on-list about it. That is an indication to me that it's not ready or that it won't get in if put to a vote... Thoughts? Anthony On Tue, Mar 6, 2012 at 6:10 PM, Simon Schick wrote: > Hi, > > It got quite around that because we have some RFCs to this where the > functionality seems to be defined as the people thought it should be. > Otherwise they can raise their hands and write a mail that they want to > update the RFC - but as there's no one doing that, I think we're quite > close to what we wanted. > > Take a look at it and feel free to add your ideas in this thread. > https://wiki.php.net/rfc/parameter_type_casting_hints > https://wiki.php.net/rfc/object_cast_to_types > > Bye > Simon > > 2012/3/6 Kris Craig > >> Wow no offense, but your timing is terrible, Raymond! =A0We've been goin= g >> back and forth on this for the past couple weeks now, though the discuss= ion >> has quieted for the moment. >> >> I would suggest you go through some of the recent posts on Internals. >> Right now there basically is no solid consensus on this issue, though so= me >> of us have been working to change that. =A0But as it stands now, I'm not >> aware of any plans to introduce expanded typing of any kind in the >> foreseeable future. =A0And even if we did, I highly doubt it would happe= n >> before PHP 6. >> >> --Kris >> >> >> On Mon, Mar 5, 2012 at 6:20 PM, Raymond Irving wrote= : >> >> > Hello, >> > >> > I came across some info on the web that states that scalar type hintin= g >> was >> > added to the PHP trunk but it did not make it's way into 5.4 because o= f >> > objections from the community. Will it ever make it's way into 5.5? >> > >> > I know PHP is considered to be a weak typed language but it should als= o >> be >> > about freedom. Freedom for a PHP developer to choose to use scalar typ= e >> > hinting whenever he/she sees the need. >> > >> > >> > Best regards, >> > __ >> > Raymond >> > >>