Req #71968 [Sus]: Access Modifier in Class Level
Edit report at https://bugs.php.net/bug.php?id=71968&edit=1
ID: 71968
Updated by: cmb@php.net
Reported by: dey dot sanjoy0 at gmail dot com
Summary: Access Modifier in Class Level
Status: Suspended
Type: Feature/Change Request
Package: *General Issues
Operating System: Any
PHP Version: 7.0.5
Block user comment: N
Private report: N
New Comment:
Related RFC draft: <https://wiki.php.net/rfc/namespace-visibility>.
Previous Comments:
------------------------------------------------------------------------
[2016-04-09 09:36:50] krakjoe@php.net
For this kind of change, an RFC is required.
Please see: http://wiki.php.net/rfc/howto
------------------------------------------------------------------------
[2016-04-05 13:42:22] dey dot sanjoy0 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/migration70.new-features
---
As we see PHP has lot of cool features in recent version PHP 7. I would suggest to have a class
level access modifier support. Most of the popular language like Java, C# has such feature.
For example:
public class A
{
public function hello()
{
}
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71968&edit=1
Thread (3 messages)