From 9e1be6b7ebbcd60c873b47e84ca42c4bd4a8bb31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vl=C4=83du=C8=9B=20Ilie?= Date: Mon, 17 Dec 2018 06:14:22 +0200 Subject: [PATCH] Another example added (#27998) * Another example added Multiple datatypes added in Syntax section. * Update index.md --- guide/english/php/array/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/guide/english/php/array/index.md b/guide/english/php/array/index.md index 0ecc6eedf3..4c2e804d3f 100644 --- a/guide/english/php/array/index.md +++ b/guide/english/php/array/index.md @@ -23,6 +23,15 @@ $bikes = array('Suzuki','BMW','Yamaha'); $bikes = ['Suzuki', 'BMW', 'Yamaha']; ``` +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: