Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93863 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51044 invoked from network); 10 Jun 2016 13:34:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2016 13:34:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.161 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.161 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.161] ([81.169.146.161:23686] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/00-50092-DD1CA575 for ; Fri, 10 Jun 2016 09:34:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1465565658; l=1367; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=YZrh2Ya3FoFChpukJ4EXP9eICLs9nhBUuloEIKSWFj8=; b=j12//91cDudP4/xJcaDMTGShgywTTYE7jaiDdaVeLsiGl+Zdx+1hJmMnkkYaWMlCNDV QOZ4ZguT26aMVrPVwls8hKNNa9Aa8cR2zw+R56P1Fzg0/zX84T2iEQamilCsKipGp2TWl 3Ft2uwYF+IHinf7j0wbkP7pd1HyvVvty2Xw= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3Q6 X-RZG-CLASS-ID: mo00 Received: from mail-wm0-f47.google.com ([74.125.82.47]) by smtp.strato.de (RZmta 38.3 AUTH) with ESMTPSA id 20a3c2s5ADYI2FO (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Fri, 10 Jun 2016 15:34:18 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id m124so102378065wme.1 for ; Fri, 10 Jun 2016 06:34:18 -0700 (PDT) X-Gm-Message-State: ALyK8tLF5L85i5XIqmeTKO2f+Y9CJeY46mA/yvCVvzDonevUaSEk5gUjND2+ZTTnU4BMUyNU3yKogqXiDXCWyw== X-Received: by 10.28.20.139 with SMTP id 133mr18379867wmu.19.1465565658444; Fri, 10 Jun 2016 06:34:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.199.67 with HTTP; Fri, 10 Jun 2016 06:34:17 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jun 2016 15:34:17 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Marco Pivetta Cc: Joe Watkins , Philip Sturgeon , PHP internals Content-Type: multipart/alternative; boundary=001a1145b52c777c4f0534ec9850 Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: me@kelunik.com (Niklas Keller) --001a1145b52c777c4f0534ec9850 Content-Type: text/plain; charset=UTF-8 > > Top-posting, since I'm taking off now. > > From outside the class, properties are not visible at all, so their types > are un-important from outer scopes. > > echo $foo->bar; is not the same in instance method body or outside of the > class. > From outside it works just fine and doesn't throw: https://3v4l.org/L8CqF/rfc#rfc-typed_properties --001a1145b52c777c4f0534ec9850--