Add the text "indexed array" in example comment (#19254)

This commit is contained in:
Shahriar Rashid Mahmud
2018-10-15 23:44:21 +06:00
committed by Todd Chaffee
parent 8db99b7c16
commit 6ac087f16b

View File

@ -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] . ".";
?> ?>