How can the number of items in an array be determined in PHP?

To determine the number of items in an array in PHP, you can use the `count()` function. This function returns the number of elements in an array. Simply pass the array as an argument to the `count()` function to get the total count of items in the array.

$array = [1, 2, 3, 4, 5];
$count = count($array);
echo "The number of items in the array is: " . $count;