Req #71968 [Sus]: Access Modifier in Class Level

From: Date: Thu, 09 Aug 2018 21:52:52 +0000
Subject: Req #71968 [Sus]: Access Modifier in Class Level
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216706@lists.php.net to get a copy of this message
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)

« previous php.bugs (#216706) next »