<?php
  $stock1 = [45, 78, 92, 61];
  $stock2 = [25, 47];
  $allItems = array_merge($stock1, $stock2);

  $short = array_filter($allItems, function($task) {
    return $task < 70;
  });
  $count = count($short);
  if ($count > 0) {
    echo "Items to restock: $count";  // Items to restock: 4
  }
?>