PHP Comments

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

Keep the following tips in mind when deciding how to comment your code:

  • You should always write your code as if comments didn't exist, using well chosen variable and function names.
  • Comments are meant to communicate to other human beings, not to repeat what is written in the code.
  • Various php commenting style guides exist (e.g. pear, zend, etc). Find out which one your company uses and use it consistently!


Got any PHP Question?