ZF-12064: zend.file.transfer.validators Example #4 code wrong

Description


if ($upload->isValid()) {
    print "Validation failure";
}

should be


if (!$upload->isValid()) {
    print("Validation failure");
}

$upload->isValid() will return false when upload file not valid.

so the code may be mistake

Comments

Fixed in trunk r24623 Merged to release-1.11 in r24624