PHP·98 questionsWhat is the Singleton pattern?SaveUpdated: 2026-08-31Answer•Only one instance of the class.•private __construct().•static getInstance().•Difficult to test.•Often considered an anti-pattern.Ask AI to clarifyWas this answer helpful?HelpfulNot helpfulSuggest an improvement