Re: [PHP-DEV] Access by siblings of (abstract) protected methods

2012-04-20 Thread Stas Malyshev
Hi! In summary: should abstract protected constructors be inaccessible by siblings, as is true of __clone and __destruct? Should __construct, __clone and __destruct always be accessible in relatives, as is true of other methods? Depending on the answers, there could be a documentation issue,

[PHP-DEV] Access by siblings of (abstract) protected methods

2012-04-05 Thread Galen Wright-Watson
Last month, Ahmad Farouk asked a question on StackOverflow about siblings accessing protected methods ( in PHP (I've been using 5.3.8 on OS X; others haven't mentioned which versions they've tested). He was