Ekstremna števila v PHP

minmax
Задание 1

Dan je array:

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

Poiščite najmanjše in največje število.