Re: [PHP-DEV] Re: Friend class/function

2015-11-02 Thread Andrea Faulds
Hi Rowan, Rowan Collins wrote: Andrea Faulds wrote on 01/11/2015 19:35: I recently wished PHP had this feature when trying to implement the Khronos Group Typed Arrays specification in PHP, which requires sharing certain data between unrelated (inheritance-wise) classes. I ended up having to exp

Re: [PHP-DEV] Re: Friend class/function

2015-11-02 Thread Leigh
On 2 November 2015 at 09:25, Rowan Collins wrote: > Andrea Faulds wrote on 01/11/2015 19:35: > >> I recently wished PHP had this feature when trying to implement the >> Khronos Group Typed Arrays specification in PHP, which requires sharing >> certain data between unrelated (inheritance-wise) cla

Re: [PHP-DEV] Re: Friend class/function

2015-11-02 Thread Rowan Collins
Andrea Faulds wrote on 01/11/2015 19:35: I recently wished PHP had this feature when trying to implement the Khronos Group Typed Arrays specification in PHP, which requires sharing certain data between unrelated (inheritance-wise) classes. I ended up having to expose a public method to get the