File Validation Classes
Laminas comes with a set of classes for validating both files and uploaded files, such as file size validation and CRC checking.
All of the File validators'
isValid()methods support both a file path
$_FILESarray as the supplied argument. When a
$_FILESarray is passed in, the
tmp_nameis used for the file path.