Bug #67790 [Opn->Csd]: Scope of class member

[email protected]
Newsgroups php.standards
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=67790&edit=1

 ID:                 67790
 Updated by:         [email protected]
 Reported by:        [email protected]
 Summary:            Scope of class member
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            PHP Language Specification
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        stas
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Current version should explain it better. Please reopen if you think it needs more revision.


Previous Comments:
------------------------------------------------------------------------
[2014-08-05 17:39:37] [email protected]

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 this bug report at https://bugs.php.net/bug.php?id=67790&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.