Vyplnenie polí v PHP

array_padarray_fillarray_fill_keys
Задание 1

Dané pole:

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

Vytvorte z neho nasledujúce pole:

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

Vyplňte pole 10-ti písmenami 'x'.