Extrémne čísla v PHP

minmax
Задание 1

Dané pole:

php<?php
  $arr = [4, -2, 5, 19, -130, 0, 10];
?>

Nájdite minimálne a maximálne číslo.