On 3 August 2015 10:39:05 BST, Nicolai Scheer <nicolai.sch...@gmail.com> wrote:
>Hi,
>
>just stumbled upon a strange issue.
>I always thought that protected/private member variables can only be
>altered from inside the object.

Yeah, as far as I know, PHP has always interpreted private and protected as 
"available to this class" rather than "available to this instance". I'm not 
sure why, but it's probably not something that can be changed at this stage.

Regards,
-- 
Rowan Collins
[IMSoP]


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to