Bug #67768 [Opn->Csd]: Interfaces having scope

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

 ID:                 67768
 Updated by:         [email protected]
 Reported by:        [email protected]
 Summary:            Interfaces having scope
-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.

I think new text in scopes explains it better, please reopen if it is still not good.


Previous Comments:
------------------------------------------------------------------------
[2014-08-05 17:43:57] [email protected]

Sara mentioned:

"Referring to interfaces as having scope at all seems weird. They have no constants/properties and their methods are body-less. I suppose there is a scope attachment for their prototypes, but if that’s the extent of it then it’s worth spelling out."

------------------------------------------------------------------------
[2014-08-05 16:37:03] [email protected]

Description:
------------
https://github.com/php/php-langspec/blob/master/spec/04-basic-concepts.md#scope

Referring to interfaces as having scope at all seems weird. They have no properties...



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=67768&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.