Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49399 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53023 invoked from network); 11 Aug 2010 23:21:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2010 23:21:23 -0000 Authentication-Results: pb1.pair.com header.from=phpwnd@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=phpwnd@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: phpwnd@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-px0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:53300] helo=mail-px0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/5D-18548-270336C4 for ; Wed, 11 Aug 2010 19:21:23 -0400 Received: by pxi17 with SMTP id 17so293395pxi.29 for ; Wed, 11 Aug 2010 16:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ZlaXAtxoJmyZCmGGxXd9aQcZ7VBY4JNH55VeQBsuR5c=; b=JsCI3p00aDQtpdWWNGfTtgUI1O9EaYiN46QMnnowPEB3lQzYdR3iM+ClKEe9Q5SUWt IcIgcfBcDn4QU+GPoND1bZASmsEC/7a3Y+jq7Ndpf4dV6/mtvWxVtI1Q7afGx0N/LlNI 6KRsgLzK2dgSG9AGzicLP8G0OqPUhROwCcs+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nE5h4DvizBizfElYvtz4QVHiRV2M1v4R17s/XL6F3chbAZEHewMlweriV0OUMaMSOs jel+ccEkE+aTWBnQtOwlA2xBbtnYBWpQ88i3GUGHafwbEqAfUI9/SJ5AmQSySjXlMMne mS4F6ne4KLWSaG3DythdNgsZ9+um0zWTHzPV0= MIME-Version: 1.0 Received: by 10.115.47.13 with SMTP id z13mr22861206waj.30.1281568879179; Wed, 11 Aug 2010 16:21:19 -0700 (PDT) Received: by 10.114.154.9 with HTTP; Wed, 11 Aug 2010 16:21:19 -0700 (PDT) In-Reply-To: <7.0.1.0.2.20100812010740.0ef432a8@zend.com> References: <1281478269.6608.292.camel@guybrush> <4C61E5CA.5070604@sugarcrm.com> <4C61F3EF.5030409@sugarcrm.com> <4C6241D1.6030909@sugarcrm.com> <4C62DBE9.7090008@sugarcrm.com> <7.0.1.0.2.20100811213714.1540f338@zend.com> <7.0.1.0.2.20100811225519.0ef42c40@zend.com> <7.0.1.0.2.20100812001106.0ef429b0@zend.com> <7.0.1.0.2.20100812010740.0ef432a8@zend.com> Date: Thu, 12 Aug 2010 01:21:19 +0200 Message-ID: To: Zeev Suraski Cc: Stas Malyshev , Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Strict typing From: phpwnd@gmail.com (Josh Davis) On 12 August 2010 00:11, Zeev Suraski wrote: > I'm not sure how long you've been on internals, but I'm not sure there's any > precedence to such strong and diverse opposition to a feature - amongst both > core developers, original authors and the community at large. I don't know, I remember some pretty strong words used against goto :) As for the community at large... I don't remember seeing a "strong and diverse opposition" to having both typechecking and smartcasting in PHP. If you have any links, perhaps that will help me grasp how strong and diverse the opposition is. Either way, let me skew your numbers a bit by using Ilia's blog post from last year [1] and earlier this year [2]. If that was my only benchmark I'd say that there is unanimous support for the implementation in current trunk. I guess it shows that different communities produce different opinions. [1] http://ilia.ws/archives/205-Type-hinting-for-PHP-5.3.html [2] http://ilia.ws/archives/217-Scalar-Type-Hints-are-Here!.html