Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82179 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61169 invoked from network); 8 Feb 2015 21:52:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2015 21:52:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=matt@lamplight3.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=matt@lamplight3.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lamplight3.co.uk from 74.125.82.53 cause and error) X-PHP-List-Original-Sender: matt@lamplight3.co.uk X-Host-Fingerprint: 74.125.82.53 mail-wg0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:58659] helo=mail-wg0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/A6-26926-9AAD7D45 for ; Sun, 08 Feb 2015 16:52:42 -0500 Received: by mail-wg0-f53.google.com with SMTP id x13so3363095wgg.12 for ; Sun, 08 Feb 2015 13:52:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=aBXokjmVtDOMc1zqqPkCEISuXkOOf7ZVXy7BsJGzt3E=; b=WLGQWAG4qd+0wh/inbNiHOj3y3XSY+q2J64pCEvNTR+GexTDQkkDnS9jxru+NjuDmH 2GqfZoNiF/i6gFaW7dyq8DiXuvnomALYPa/T9NUyyuCMQh1eHV3YiEdW/jVTBORzITQ+ xa1EPdhlKlxopPrzxW5j9jX9h3Sx069Hrml7GRYvpoPXznJ7U2sAV6K4d7GjwiS519G9 EpPZsNhuYLoz1shWu1TQhcrZzDo8TtGeimSF0TVed1zw5AzhgcXTCdJ1kyz8C8x/W/Rt TN1yLiI6gBMqLOxhniVNK5YOejdlKDBqtpv/Mj0j8mp5REcd85AJHqbYejk7hRmKvSob Yo8w== X-Gm-Message-State: ALoCoQl0ZAHtFLgIfTxWC00RdskjbmzCAeIqIyrNe27lbaWLiOPjsPaxx3EROE5dbUzj3bPesJF6 MIME-Version: 1.0 X-Received: by 10.194.236.200 with SMTP id uw8mr34438015wjc.10.1423432359426; Sun, 08 Feb 2015 13:52:39 -0800 (PST) Sender: matt@lamplight3.co.uk Received: by 10.217.141.8 with HTTP; Sun, 8 Feb 2015 13:52:39 -0800 (PST) X-Originating-IP: [88.97.76.175] Date: Sun, 8 Feb 2015 21:52:39 +0000 X-Google-Sender-Auth: 31Y4PTghnnT1FqjxrM86xE5HVdA Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: scalar type hints From: matt@lamplightdb.co.uk (Matt Parker) Hello, First of all, thank you for php. Secondly, I hope this doesn't come across as impertinent. I'm an average user of php. I don't know enough about programming languages to contribute here; but I do try and keep up with what's going on in the php core. I was curious what the userland view of scalar type hints was, so I set up a two question SurveyMonkey poll asking about the current RFC. To be clear, I don't think php should be a democracy; I am not intending to somehow subvert the RFC process. As I see it, you all have rather difficult judgements to make about the language, and those decisions may have far-reaching consequences. But I do wonder if 'what do php users think' might be a useful additional data point for you when making those judgements. The first question was 'Did you read the RFC' and the second 'Would you like the RFC to pass'. I set it up Friday morning (GMT) and tweeted it around a bit (I have a grand total of 58 followers on twitter). So this relates to version 0.3 As of now, 306 people have responded, a lot more than I anticipated. 84% said they read the RFC; > 83% would like it to pass (full responses here: https://www.surveymonkey.com/results/SM-Q8KRRZV7/, the survey itself here: https://www.surveymonkey.com/s/SDB2V6Z). I hope this is helpful. [About the survey]. Settings on Survey Monkey were: randomised order of answers to Q2; one response only. I tweeted it, and @ tweeted a few people that I noticed talking about the RFC. I think it got forwarded on a bit. Possible problems with it: 1. Not enough responses / it's not representative? - I'd be happy if others with more prominent twitter presences (let's face it, that's not hard) wanted to publicise it. Although if it goes over 1000 responses I'd have to stump up a load more cash to SurveyMonkey, so I hope 1000 would be enough ;) 2. It doesn't contain any information. Everyone knows we all want scalar type hints, but a similar result would have been gained with a completely different approach. The problem isn't "whether to", it's "how best to", and it's unlikely that those polled understand the trade-offs. - Possibly. Again, I'm surprised by the number of responses, and the numbers both reading the RFC and wanting it. To me, the strongest message is 'please get something into php 7'. Watching all this from the outside, I worry that this will not be the outcome.