`array_search` says: > Returns the key for needle if it is found in the array, FALSE otherwise. It is not an error not finding something you search for, therefore it seems to be outside of Safe's scope.