Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58705 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3255 invoked from network); 6 Mar 2012 23:45:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2012 23:45:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:42802] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/94-15021-691A65F4 for ; Tue, 06 Mar 2012 18:45:27 -0500 Received: by werh12 with SMTP id h12so4094647wer.29 for ; Tue, 06 Mar 2012 15:45:23 -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=wjx2iORo73W3Rvc9qHZyEYAD8heucD3vXnYU41k7Xow=; b=yuq0cPzhdkI6HGBXvgmCmRpqcOFmXizLQX1/NgizVv7az5B/FWKMDsdlzHh3y8DiWG 0DW/aqHqRCJWnltqwRsvdAr4semEn8XRQReJSwkPb4cqf2MsNVS8uGO2hfuy2Vv6aJjO LSvEDYN3yGj1Lv0by2IxxSVfPCmF5EpfRG5IM7Lf7QvPGRjsdFuBMmQ0TDXagD4pNudU kG8oDa25QyFLk0ld1c2G10vYX1ZZNVYzaFijNX8Q8GtsRBdnKavzfcd9N1rBjCN+7SSh WjF3Q9FQd7n/gTD1KfTMs/SAWuwd9gyDWG00/hlWCWuQmC4mgSvfgV/9kBg4srvOechF aQWg== MIME-Version: 1.0 Received: by 10.180.24.7 with SMTP id q7mr17621653wif.11.1331077523798; Tue, 06 Mar 2012 15:45:23 -0800 (PST) Received: by 10.223.111.78 with HTTP; Tue, 6 Mar 2012 15:45:23 -0800 (PST) In-Reply-To: References: Date: Tue, 6 Mar 2012 15:45:23 -0800 Message-ID: To: Anthony Ferrara Cc: Simon Schick , Raymond Irving , internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d043892abf97b0104ba9ba200 Subject: Re: [PHP-DEV] Scalar Type Hinting From: kris.craig@gmail.com (Kris Craig) --f46d043892abf97b0104ba9ba200 Content-Type: text/plain; charset=ISO-8859-1 Personally, speaking for myself at least, I've quieted on the subject temporarily in favor of advocating some improvements to the RFC voting process that will ultimately make it easier for us to work through these type hinting questions. I'll be resurrecting the discussion on this end before too long. =) --Kris On Tue, Mar 6, 2012 at 3:35 PM, Anthony Ferrara wrote: > 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! We've been going > >> back and forth on this for the past couple weeks now, though the > discussion > >> 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 > some > >> of us have been working to change that. But as it stands now, I'm not > >> aware of any plans to introduce expanded typing of any kind in the > >> foreseeable future. And even if we did, I highly doubt it would happen > >> 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 > hinting > >> was > >> > added to the PHP trunk but it did not make it's way into 5.4 because > of > >> > 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 > also > >> be > >> > about freedom. Freedom for a PHP developer to choose to use scalar > type > >> > hinting whenever he/she sees the need. > >> > > >> > > >> > Best regards, > >> > __ > >> > Raymond > >> > > >> > --f46d043892abf97b0104ba9ba200--