Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92025 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30316 invoked from network); 30 Mar 2016 15:33:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2016 15:33:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-wm0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:35821] helo=mail-wm0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/10-28792-CA1FBF65 for ; Wed, 30 Mar 2016 10:33:00 -0500 Received: by mail-wm0-f54.google.com with SMTP id 191so94364784wmq.0 for ; Wed, 30 Mar 2016 08:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=zB55XoD91wzf0A011zDNBwGdiQN2s41t3nopKcYyXrg=; b=TyMBJfJvuidjG9BjgwOjKyqSduf4zCv/DhahHHpYcrrYA32U2+cMn0O6d4Tj6i/lLm RGU+e3qu5a7QURETbbdy7scEJUFs9ih78tGaL9Rp1Vc3OkGrUu2Jvb90hINUgbLXvoIv U4qoswboj4jB7Z4AdnUo9gRq4oe3JKEYnv9yGjwrYQTFfIMx9YroKJHpsr57Z88soBK4 KOxlCSjEClqJuGfzZ07OtVVpJmPQBqJJKRcohqpyjydSsxaHAZbwjWR6EMMlKOy38gw+ MboSVPOYiNU96MhzGL0YNYP8iTdHnlJ/gmOkutLuq7H13/kOaM7log/8EE43Y3vPr+S/ R4Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=zB55XoD91wzf0A011zDNBwGdiQN2s41t3nopKcYyXrg=; b=GlRywAPd4pM5I6Fr1ZjDIi+3LW7UgXLBMqTm6fiht/PSu1b6JtY91vhgUNkn+4SVXj 1okAlNdY0KM+uT3doE/ED1Z/4QxdW+zaBDRz5Ts61gTQF2X3QyGcZ9gjFq34ER5j0q7f +DIPIFfD6gelBfwq4ZgKDAp/pee6f9B1gV5p5D88BErozI2100Cf6O+NQLdHFrLlq9D/ Jh+EAxNDuNLwYZIvyMBlDl+gt5qrkX7dTtaP4m/DfEOxmO8FDoWGOcRNiU4MFQCfHOkp FSIpmTnJSKKQaHRD57igXAeff+pEzZ2wHCaQcYhdjxyHfsdhwofX68/OzB9/Fisua5Fq Q6Nw== X-Gm-Message-State: AD7BkJIGcXoZ3vLpTdk5qtgVdZmO45QqYTv43OMWYQa7Ct8DEV5lbiODYSls5pVg6K6fzg== X-Received: by 10.28.212.19 with SMTP id l19mr23311675wmg.97.1459351977607; Wed, 30 Mar 2016 08:32:57 -0700 (PDT) Received: from [192.168.0.77] ([93.188.182.58]) by smtp.googlemail.com with ESMTPSA id 73sm20344326wmy.22.2016.03.30.08.32.56 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2016 08:32:56 -0700 (PDT) To: internals@lists.php.net References: <56E9CC3E.10205@telia.com> <56E9D45D.4060309@fleshgrinder.com> <56EC611F.7050601@fleshgrinder.com> <56ED2C1C.3090902@telia.com> <56ED2E94.5050902@fleshgrinder.com> Message-ID: <56FBF13A.80707@gmail.com> Date: Wed, 30 Mar 2016 16:31:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56ED2E94.5050902@fleshgrinder.com> Content-Type: multipart/alternative; boundary="------------050008040504060207030608" Subject: Re: [PHP-DEV] [RFC Discussion] Typed Properties From: rowan.collins@gmail.com (Rowan Collins) --------------050008040504060207030608 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Fleshgrinder wrote on 19/03/2016 10:48: > It is a sad state the implicit public properties use*var* and implicit > public methods nothing, this makes the introduction of new visibility > modifiers terribly complicated. I see it a bit differently - you could think of "var $foo" as shorthand for "public var $foo", in the same way that "function foo()" is shorthand for "public function foo()". Obviously, we don't actually allow "public var", but to me "var" has nothing to do with visibility, it's just a noise token like "function". If we did want namespace/package/whatever visibility, it wouldn't make much sense for it to suddenly become the default for all legacy code, so it would need a new visibility keyword anyway, and that keyword would be available to all members as required - properties, methods, and even constants. I don't see that the existence of "var" makes any difference to that. Regards, -- Rowan Collins [IMSoP] --------------050008040504060207030608--