Add the text "indexed array" in example comment (#19254)
This commit is contained in:
committed by
Todd Chaffee
parent
8db99b7c16
commit
6ac087f16b
@ -13,6 +13,7 @@ Here is an example:
|
|||||||
```
|
```
|
||||||
<?php
|
<?php
|
||||||
// array without keys
|
// array without keys
|
||||||
|
// This array is also an example of "indexed array"
|
||||||
$bikes = array("Suzuki","BMW","Yamaha");
|
$bikes = array("Suzuki","BMW","Yamaha");
|
||||||
echo "I like " . $bikes[0] . ", " . $bikes[1] . " and " . $bikes[2] . ".";
|
echo "I like " . $bikes[0] . ", " . $bikes[1] . " and " . $bikes[2] . ".";
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user