Ersetzen in Arrays in PHP

array_replace
Задание 1

Gegeben ist ein Array:

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

Ändern Sie das Element mit dem Schlüssel 0 in '!', und das Element mit dem Schlüssel 3 - in '!!'.