In this case is the entire array considered unset?
No
Or is the array considered empty?
Yes
By the way you can try out your own example with these testcases
<?php
echo isset($ourArray)?1:0; // "prints" 0 since array doesn't contain anything
echo empty($ourArray)?1:0; // "prints" 1 since elements are not there !
$ourArray = array(
"1",
"2",
"3",
"4"
);
echo empty($ourArray)?1:0; // "prints" 0 since elements are there !
foreach($ourArray as $key => $value){
unset($ourArray[$key]);
}
echo isset($ourArray)?1:0; // "prints" 1 since the array is set , only the elements are emptied
echo empty($ourArray)?1:0; // "prints" 1 since the array elements are empty