Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58638 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20700 invoked from network); 6 Mar 2012 02:55:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2012 02:55:34 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:35366] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/C3-34145-5AC755F4 for ; Mon, 05 Mar 2012 21:55:33 -0500 Received: by wibhj13 with SMTP id hj13so2156020wib.29 for ; Mon, 05 Mar 2012 18:55:30 -0800 (PST) Received-SPF: pass (google.com: domain of kris.craig@gmail.com designates 10.216.136.157 as permitted sender) client-ip=10.216.136.157; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kris.craig@gmail.com designates 10.216.136.157 as permitted sender) smtp.mail=kris.craig@gmail.com; dkim=pass header.i=kris.craig@gmail.com Received: from mr.google.com ([10.216.136.157]) by 10.216.136.157 with SMTP id w29mr7324602wei.23.1331002530744 (num_hops = 1); Mon, 05 Mar 2012 18:55:30 -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=Kinf9LiNX4dqRyZRWHf61Ugr9LFBDLRn4R6ydlw1rM8=; b=Ks+tEtr8LKofnSNIhbMUDeyodilHRG/I/onfdXRGhb54ASDt9+I6Bj5YoxcF6J3FjF OaD9p1g1pNhuCBww/KzV7Kn8KvKGSlNznAhAOubdB3VAfylfBkPv+HV8W1oNzoZOu4fd jZWm4oiGFpJoM3vNqOSEQQQa2Ghkf9yHUlKem4YG827i9xMZPRCrho1QQNY719TRFTPk ReZ4ZU4bgFaiQ/1Opbv0iE2sAkwYBSM5byHeyMDUt6Oeop1jgw5Bjyykg/TpljH/isKU v7jYjF8/YOWATZLckAwwizrCZZU6gG9pl6jG6jDH+NQX93RdWqyq/FJ5uxT1XZ3WwDis lFiA== MIME-Version: 1.0 Received: by 10.216.136.157 with SMTP id w29mr5836842wei.23.1331002530607; Mon, 05 Mar 2012 18:55:30 -0800 (PST) Received: by 10.223.111.78 with HTTP; Mon, 5 Mar 2012 18:55:30 -0800 (PST) In-Reply-To: References: Date: Mon, 5 Mar 2012 18:55:30 -0800 Message-ID: To: Raymond Irving Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=0016e6d63eba08337e04ba8a2d11 Subject: Re: [PHP-DEV] Scalar Type Hinting From: kris.craig@gmail.com (Kris Craig) --0016e6d63eba08337e04ba8a2d11 Content-Type: text/plain; charset=ISO-8859-1 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 > --0016e6d63eba08337e04ba8a2d11--