Introduction



Day 3: Array, Constants And Comments.

Welcome to the third day of your PHP learning journey.

Today you are taking a step further into PHP variables.In particular, you are going to learn about PHP arrays.

You will also learn about constants (and how they differ from variables) and code comments.

By the end of the day, you will be able to use arrays together with other variable types, you will know how to use constants and how to use comments in your code.


What you will learn today.

  • How arrays work in PHP.
  • The difference between numeric arrays and maps (arrays with string keys).
  • How to use multi-dimensional arrays.
  • How to use constants and how they differ from variables.
  • How to write comments in your code.




Complete and Continue  
Discussion

0 comments