From 4008479fe95bc205f99c53b88c299913803889fa Mon Sep 17 00:00:00 2001 From: Alisa Turchaninov <136615452+aan-t@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:29:28 +0100 Subject: [PATCH 1/3] Update introduction.md --- exercises/concept/language-list/.docs/introduction.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/exercises/concept/language-list/.docs/introduction.md b/exercises/concept/language-list/.docs/introduction.md index ba56edd8..96776a56 100644 --- a/exercises/concept/language-list/.docs/introduction.md +++ b/exercises/concept/language-list/.docs/introduction.md @@ -27,9 +27,7 @@ Access, assign, append values using the index operator: ```php $prime_numbers = [1, 3, 5, 7, 11, 12]; -$prime_numbers[5] = 13; - -$unlucky_number = $arr[3]; // replace 12 with 13 +$prime_numbers[5] = 13; // replace 12 with 13 $prime_numbers[] = 17; // array now contains [1, 3, 5, 7, 11, 13, 17] ``` From 5e3f0b2bf8e95f95d7bd357f11aa7ae1fcabbfd1 Mon Sep 17 00:00:00 2001 From: Alisa Turchaninov <136615452+aan-t@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:29:50 +0100 Subject: [PATCH 2/3] Update about.md --- concepts/arrays/about.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/concepts/arrays/about.md b/concepts/arrays/about.md index e5c3b0e4..a755baf3 100644 --- a/concepts/arrays/about.md +++ b/concepts/arrays/about.md @@ -44,9 +44,7 @@ Access, assign, append values using the index operator: ```php $prime_numbers = [1, 3, 5, 7, 11, 12]; -$prime_numbers[5] = 13; - -$unlucky_number = $arr[3]; // replace 12 with 13 +$prime_numbers[5] = 13; // replace 12 with 13 $prime_numbers[] = 17; // array now contains [1, 3, 5, 7, 11, 13, 17] ``` From b8ec3ccc52656f31bba575a491781c72e67c5601 Mon Sep 17 00:00:00 2001 From: Alisa Turchaninov <136615452+aan-t@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:30:04 +0100 Subject: [PATCH 3/3] Update introduction.md --- concepts/arrays/introduction.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/concepts/arrays/introduction.md b/concepts/arrays/introduction.md index c41f05e3..ec617316 100644 --- a/concepts/arrays/introduction.md +++ b/concepts/arrays/introduction.md @@ -25,9 +25,7 @@ Access, assign, append values using the index operator: ```php $prime_numbers = [1, 3, 5, 7, 11, 12]; -$prime_numbers[5] = 13; - -$unlucky_number = $arr[3]; // replace 12 with 13 +$prime_numbers[5] = 13; // replace 12 with 13 $prime_numbers[] = 17; // array now contains [1, 3, 5, 7, 11, 13, 17] ```