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

From: Date: Mon, 18 Aug 2014 08:20:47 +0000
Subject: Bug #67790 [Opn->Csd]: Scope of class member
References: 1  Groups: php.standards 
Request: Send a blank email to standards-+get-394@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67790&edit=1 ID: 67790 Updated by: stas@php.net Reported by: joelm@php.net 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] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67790&edit=1

« previous php.standards (#394) next »