Introduction
Comments help you write notes inside your PHP code. They explain what the code does without affecting how it runs.
To explain tricky parts of your PHP code for yourself or others.
To temporarily stop some code from running while testing.
To add reminders or to-do notes inside your code.
To describe the purpose of a function or variable.
To make your code easier to understand later.