This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:create:array [26.10.2018 09:54] – [Arrays] rafael.wilms | en:create:array [18.11.2020 17:30] (current) – [Arrays] sophia.schauer | ||
---|---|---|---|
Line 11: | Line 11: | ||
// create an array | // create an array | ||
$a = array(' | $a = array(' | ||
+ | </ | ||
+ | |||
+ | Instead of the notation '' | ||
+ | |||
+ | <code php> | ||
+ | // Create an array with square brackets | ||
+ | $a = [' | ||
</ | </ | ||