Innsetting av array-elementer i PHP

Du kan også utføre innsetting av array-elementer:

php<?php
  $arr = ['a', 'b', 'c'];
  echo "xxx $arr[0] yyy";
?>
Задание 1

Forenkle følgende kode:

php<?php
  $arr = ['1', '2', '3'];
  echo 'aaa ' . $arr[0] . ' bbb ' . $arr[1];
?>