diff --git a/guide/english/php/array/index.md b/guide/english/php/array/index.md index 4c2e804d3f..a7b349a9ed 100644 --- a/guide/english/php/array/index.md +++ b/guide/english/php/array/index.md @@ -8,7 +8,7 @@ An array can be thought of as a collection of items. ## Syntax -An array is defined by array(), or []. +An array is defined by `array()`, or `[]`. An example of an array in each style can be seen below: @@ -16,13 +16,14 @@ An example of an array in each style can be seen below: value) + PHP arrays can store more than one type of value at a time: ``` Value - Arrays can also be defined with named keys, as shown below: ```php @@ -82,7 +81,7 @@ echo 'I like '. $bikes['not my favorite']; Would produce the following output: ``` -I like BWM +I like Yamaha ``` ## Multidimensional Array