Questions › Tag: coding-styleFilter:AllOpenResolvedClosedUnansweredSort byViewsAnswersVotes What are the advantages of using getters and setters instead of functions or simply public fields in PHP?sethbeckerman5 asked 15 years ago489 views0 answers0 votes What are the advantages of using getters and setters instead of functions or simply public fields in PHP?Jehal Desai asked 15 years ago518 views0 answers0 votes