Bug #67790 [NEW]: Scope of class member
| From: | joelm@php.net | Date: | Tue, 05 Aug 2014 17:39:37 +0000 |
| Subject: | Bug #67790 [NEW]: Scope of class member | ||
| Groups: | php.standards | ||
| Request: | Send a blank email to standards-+get-345@lists.php.net to get a copy of this message | ||
From: joelm
Operating system:
PHP version: Irrelevant
Package: PHP Language Specification
Bug Type: Bug
Bug description:Scope of class member
Description:
------------
https://github.com/php/php-langspec/blob/master/spec/04-basic-concepts.md#scope
"The scope of a class member m declared in, or inherited by, a class
type C is the body of C." Is the member really any more/less in scope
within the class than outside of it? e.g. $this->foo versus $x->foo Both
must dereference from something.
--
Edit bug report at https://bugs.php.net/bug.php?id=67790&edit=1
--