php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67790 Scope of class member
Submitted: 2014-08-05 17:39 UTC Modified: 2014-08-18 08:20 UTC
From: joelm@php.net Assigned: stas (profile)
Status: Closed Package: PHP Language Specification
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2014-08-05 17:39 UTC] joelm@php.net
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. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-08-18 08:20 UTC] stas@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: stas
 [2014-08-18 08:20 UTC] stas@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC