Arrays in PHP füllen

array_padarray_fillarray_fill_keys
Задание 1

Gegeben ist ein Array:

php<?php
  $arr = ['a', 'b', 'c'];
?>

Machen Sie daraus das folgende Array:

php<?php
  ['a', 'b', 'c', '-', '-', '-']
?>
Задание 2

Füllen Sie ein Array mit 10 Buchstaben 'x'.