This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

PHP Arrays

Index Number: part 2

The next array item gets the index 16:

array(4) {
  [15]=>
  string(5) "Volvo"
  [7]=>
  string(3) "BMW"
  [14]=>
  string(6) "Toyota"
  [16]=>
  string(17) "Ford"
}

Note: the character length of item [16] should be 4. I added <mark> and </mark> to the code to highlight item [16]. This increased the character length of item [16] to 17.