News for hackers. Stuff that matters.
Re:PHP Sadness by josteink on Thursday November 29, 2018 @06:20AM (#18559438)
Also: many languages prevent all access to private members in derived classes. This is by design: private is private.

If you need derives classes-only to have access, you should typically use the “protected”-modifier.

Doesn’t php have that?

Re:PHP Sadness by dsego on Thursday November 29, 2018 @06:23AM (#18559450)
It does.
Re:PHP Sadness by josteink on Thursday November 29, 2018 @07:24AM (#18559678)
So the PHP sadness in this case refers to lacking PHP knowledge of the person who wrote this blog?