|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #3514 Private and Protected data in classes
Submitted: 2000-02-17 08:02 UTC Modified: 2001-11-11 14:48 UTC
From: php at westerdal dot com Assigned:
Status: Duplicate Package: Feature/Change Request
PHP Version: 4.0 OS: any
Private report: No CVE-ID: None
 [2000-02-17 08:02 UTC] php at westerdal dot com
Classes don't have Private or Protected members.<BR>
I want to have some variables and functions private.<BR>
I can do this in real OOP langauges like C++.<p>

Are there any plans for this?<BR>
Am I missing something?<p>



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-25 13:43 UTC] joey at cvs dot php dot net
There are no plans to make PHP a "true" OOP language at this time...leaving as a "Feature Request"
 [2001-02-10 14:08 UTC]
refiling against 4.0.
 [2001-11-11 14:48 UTC]
Dupe of #5142, which has more info so I'm closing this one.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 12:01:29 2024 UTC