Deciphering Magic Methods in PHP