Edit report at http://bugs.php.net/bug.php?id=53853&edit=1
ID: 53853 Updated by: ahar...@php.net Reported by: php at 5ubliminal dot com Summary: 'friend' support would be great -Status: Open +Status: Duplicate Type: Feature/Change Request Package: Class/Object related Operating System: Windows7 PHP Version: Irrelevant Block user comment: N Private report: N New Comment: I don't think anything has changed here. Previous Comments: ------------------------------------------------------------------------ [2011-01-27 12:55:06] php at 5ubliminal dot com Description: ------------ I know you heard this ( http://bugs.php.net/bug.php?id=34044 ) but it was back in 2005. Things have changed and I was wondering if you reconsidered this. There are moments when you need to restrict access to some private functions in OOP programming, especially when you distribute code to others. Developers should not be allowed to call those methods but just some select functions (methods) should. That's where 'friend' would come in great help. Thanks! Just food for thought. Would be soo coool in terms of maintaining code security and good structure. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53853&edit=1