Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58700 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95377 invoked from network); 6 Mar 2012 23:10:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2012 23:10:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=simonsimcity@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=simonsimcity@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: simonsimcity@googlemail.com X-Host-Fingerprint: 209.85.214.170 mail-tul01m020-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:56642] helo=mail-tul01m020-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/F2-15021-B49965F4 for ; Tue, 06 Mar 2012 18:10:04 -0500 Received: by obbwd1 with SMTP id wd1so6952529obb.29 for ; Tue, 06 Mar 2012 15:10:00 -0800 (PST) Received-SPF: pass (google.com: domain of simonsimcity@googlemail.com designates 10.182.155.68 as permitted sender) client-ip=10.182.155.68; Authentication-Results: mr.google.com; spf=pass (google.com: domain of simonsimcity@googlemail.com designates 10.182.155.68 as permitted sender) smtp.mail=simonsimcity@googlemail.com; dkim=pass header.i=simonsimcity@googlemail.com Received: from mr.google.com ([10.182.155.68]) by 10.182.155.68 with SMTP id vu4mr10549188obb.61.1331075400823 (num_hops = 1); Tue, 06 Mar 2012 15:10:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HoCjw3eqo/pWcXv6kAQwQObhcARTgIiopMRMp1tXVOU=; b=F4xLjTlPlifW2zlAjBpfrIDjpNR4lDr22qe4vT9L6DFWYFjfgvAfihw9OxjvGyuKAX GZQjSq/iO06P8X8G+cI6eIUM6uESWDkevLdAc5BhB8qJOZtDSlLgnYv8KZmABXx9awMx NdQetmYAMz0vkcYIT0LEVImw6xquFyV5z+/19Q1F9W+OLZ90SjPBmN75CCZHG3zluUCp 9MO/Mv6TWzc66eymE1NQGk2OzI8qpVVKrKOmc1H9p01dZa60bI0ZSBhcfgJHgCZUoBGZ Rg3BP6JjHblf8t050L3AMn2Jjsd167OyE3r6azgUvTOKAbOp5xhi1NKdPifKh3Y9fxg4 ILNg== MIME-Version: 1.0 Received: by 10.182.155.68 with SMTP id vu4mr9233539obb.61.1331075400742; Tue, 06 Mar 2012 15:10:00 -0800 (PST) Received: by 10.60.63.70 with HTTP; Tue, 6 Mar 2012 15:10:00 -0800 (PST) In-Reply-To: References: Date: Wed, 7 Mar 2012 00:10:00 +0100 Message-ID: To: Kris Craig Cc: Raymond Irving , internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d044784976e37e004ba9b247b Subject: Re: [PHP-DEV] Scalar Type Hinting From: simonsimcity@googlemail.com (Simon Schick) --f46d044784976e37e004ba9b247b Content-Type: text/plain; charset=UTF-8 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 > > > --f46d044784976e37e004ba9b247b--