PHP·98 questionsWhat are magic methods?SaveUpdated: 2026-08-31Answer•__construct — constructor.•__destruct — destructor.•__get, __set — access to properties.•__call — call to undefined methods.•__toString — string conversion.Ask AI to clarifyWas this answer helpful?HelpfulNot helpfulSuggest an improvement