Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84622 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36798 invoked from network); 12 Mar 2015 09:34:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Mar 2015 09:34:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.48 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.218.48 mail-oi0-f48.google.com Received: from [209.85.218.48] ([209.85.218.48:44844] helo=mail-oi0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/BC-64353-0AD51055 for ; Thu, 12 Mar 2015 04:34:24 -0500 Received: by oifu20 with SMTP id u20so12114386oif.11 for ; Thu, 12 Mar 2015 02:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=sbfy1shn0F41Ekm7ybxSYH7h3zvKNU2bbqmnhKW1N8w=; b=j02k0MnU9EorEKXtyPEhmmaJOaJ23oebNdB3cAen7SQ9fx0XVJb8s+y86ejp6MqMUp ylH7N1tTSsaO8OGeUs96wHfe74w7tVAN1ssPQWSqXPoL7jGTZ/f+/IYusYRORRAfiECr zoFoBsBnMhIxHELYhwGx4NHWMLtiT9DRQSwj/fD/qosHnRR0FJoVTmFAYNG2DMnpxBFO XhlRA75tM7Os3GuBRfesmHRUIgXvvUieQtTtlNaQqaMLbJXFqWjA9eDHYqnfy/s9lO+5 nwAIE+SjGRMvDq6nFgQ2WNv2MUrZj4N0iIlD5xf/Cry1SV2mG8m8M4L98lhVHLPLRGJR 5kwQ== X-Received: by 10.60.70.211 with SMTP id o19mr29974026oeu.21.1426152861081; Thu, 12 Mar 2015 02:34:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.14.39 with HTTP; Thu, 12 Mar 2015 02:34:00 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Mar 2015 11:34:00 +0200 Message-ID: To: Zeev Suraski Cc: Bob Weinand , PHP internals Content-Type: multipart/alternative; boundary=001a11333434ae282f051114167f Subject: Re: [PHP-DEV] [RFC] Basic Scalar Types From: arvids.godjuks@gmail.com (Arvids Godjuks) --001a11333434ae282f051114167f Content-Type: text/plain; charset=UTF-8 2015-03-12 11:23 GMT+02:00 Zeev Suraski : > > -----Original Message----- > > From: Bob Weinand [mailto:bobwei9@hotmail.com] > > Sent: Thursday, March 12, 2015 12:46 AM > > To: Pierre Joye > > Cc: PHP internals > > Subject: Re: [PHP-DEV] [RFC] Basic Scalar Types > > > > Correct. It's just for the case where the other two fail. > > We still can add strict mode in a later version if people need it. > > All the RFC does is the most basic scalar type hinting you can build > everything > > on. (for example adding the declare(strict_types=1); would work without > any > > BC break on top of it) > > The issue is that it's only possible to open the voting on this one until > tomorrow. > > As I said, I do think we need *something* for 7.0. I went as far as > saying that I'd change my vote on the quite-bad-IMHO dual mode RFC to yes > if it seems both present proposals aren't going to succeed. But I would > much rather see this one pass over the dual mode if it was available for a > vote. > > So really, the options we have are: > > 1. Put this one for a vote before the end of tomorrow. Here too, on a > personal level, if I see that this proposal isn't gaining enough votes, > I'd support the dual mode one. > 2. Don't put it up for a vote, and then we may or may not have something > for 7.0. > > Zeev > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > At this point I think the best way is to reserve the keywords for typehints, and not the only 4, but also for resource and null. And work towards making typehints in 7.1. Rushing things like it's now never lead to any good results. And that dual-mode RFC is re-incarnation of the register_globals, just in a different way. But essentially will make the same mess. --001a11333434ae282f051114167f--