Wednesday, November 30, 2016

Friday, November 11, 2016

Bypassing private and protected visibility in PHP

Members declared protected can be accessed only within the class itself and by inherited classes. Members declared as private may only be accessed by the class that defines the member. PHP documentation on property visibility This is true only in an academic sense: code outside the object can...