php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67768 Interfaces having scope
Submitted: 2014-08-05 16:37 UTC Modified: 2014-08-18 07:50 UTC
From: joelm@php.net Assigned: stas (profile)
Status: Closed Package: PHP Language Specification
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: joelm@php.net
New email:
PHP Version: OS:

 

 [2014-08-05 16:37 UTC] joelm@php.net
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...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-08-05 17:43 UTC] joelm@php.net
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-18 07:50 UTC] stas@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: stas
 [2014-08-18 07:50 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.

I think new text in scopes explains it better, please reopen if it is still not good.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 12 10:01:28 2024 UTC