Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5045 invoked from network); 10 Jun 2016 21:05:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2016 21:05:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 66.111.4.26 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.26 out2-smtp.messagingengine.com Received: from [66.111.4.26] ([66.111.4.26:55135] helo=out2-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/00-04630-6AB2B575 for ; Fri, 10 Jun 2016 17:05:42 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 327B221E0B for ; Fri, 10 Jun 2016 17:05:39 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 10 Jun 2016 17:05:39 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=kugH2NU4pWB9Vqh DmsnnzzHNrfY=; b=nWufM90AJ1VqxLLYY5WNh/b2rsk+PN+Ew6nVlQYRn/nmoFn KeY8ND8Kf/qRmad8BPK/o0WD4wNPgX3npNNe6ljUlzsl/CKW18nefmfMAg+HzOHs hlrNUb8HX2XgjfRCVOWhq5SiksyNPM8j3u34s8SbSP0XpeW9vvNRI3sfm2nw= X-Sasl-enc: or9scFDfiJPJHuTB1zLERRhJnpMPTnuuBFl0+wIsRwnw 1465592738 Received: from [192.168.42.5] (c-50-178-40-84.hsd1.il.comcast.net [50.178.40.84]) by mail.messagingengine.com (Postfix) with ESMTPA id D8A81F29F3 for ; Fri, 10 Jun 2016 17:05:38 -0400 (EDT) To: internals@lists.php.net References: <2f0b0366-de16-25ef-f5ca-a03fb7d6f38b@zend.com> <575AE7EE.7050208@garfieldtech.com> <3246c813-95b4-a120-f1e1-9763edba0af8@gmail.com> <575B11A2.7000604@lsces.co.uk> <575B1A30.9080301@garfieldtech.com> <575B1C98.7020705@lsces.co.uk> Message-ID: <575B2BA2.3020003@garfieldtech.com> Date: Fri, 10 Jun 2016 16:05:38 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <575B1C98.7020705@lsces.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: larry@garfieldtech.com (Larry Garfield) On 06/10/2016 03:01 PM, Lester Caine wrote: > On 10/06/16 20:51, Larry Garfield wrote: >> On 06/10/2016 02:14 PM, Lester Caine wrote: >>> On 10/06/16 17:57, Rowan Collins wrote: >>>> For the record, I'm not entirely sure which way I want the language to >>>> go, but I think it's a decision that needs to be made, and soon. >>> Seconded ... even something like strict mode should be 'removable' to >>> provide a smaller faster 'classic' PHP even if it does mean there are >>> two builds. But we already HAVE two builds ... people who want strongly >>> typed and pre-compiled PHP simply use HHVM. There is no need to drag PHP >>> down the same road map? Each has it's own strengths. >> ... I am a strong typing proponent (that is a strong proponent of >> explicit typing), and have never once used HHVM. Your claim, that >> type-using people can just leave for HHVM, is both nonsensical and untrue. > The same applies to your suggestion that user-land is actively following > you. Getting systems off PHP5.2/3 gets more an more difficult given all > the extra 'little tweaks' that are needed and we still have 40% of users > that need help getting just over to 5.4 let alone up to PHP7. Currently > more people are still using PHP4 than have switched to PHP7 ... so where > is the strong support for typed code? > > (https://w3techs.com/technologies/details/pl-php/all/all) https://seld.be/notes/php-versions-stats-2016-1-edition The code being written is veering heavily toward newer versions, and anecdotally most of the code I see is classed with typed parameters. (Yes, anecdotes are not data, and I acknowledged a likely bias earlier, but I'm not sure how to generate actually objective data on this front.) That is arguably a more reliable measure of what developers are doing than the W3Techs stats, which are based on what servers are running. (A useful but different metric.) --Larry Garfield