Re: friendly classes

From: Date: Wed, 21 Aug 2002 19:12:55 +0000
Subject: Re: friendly classes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-87236@lists.php.net to get a copy of this message
At 10:59 AM 8/21/2002 +0100, Tom Oram wrote:
Hi, I'm currenly looking at/doing a lot of object orientated PHP so I have been looking into what new features Zend 2 will offer me. I have just run into a situation where if I was using Zend 2 I would need some sort of implementation of C++ friends, I'm not to sure about the java alternative (is it package access?). Anyway is this consept likely to appear in PHP at any time?
I wouldn't want to get into what I consider "the ugly sides of C++'s OOP". If you need friend then just go ahead and make it public :) Andi

« previous php.dev (#87236) next »