Skip to content

Commit

Permalink
Enable a PHP<8 test
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Dec 31, 2020
1 parent c8ba120 commit 53f83f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/upload_validation/upload_validation_real.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ if (!extension_loaded("snuffleupagus")) {
print "skip";
}

if (PHP_VERSION_ID >= 70300) {
print "skip BROKEN with 7.3";
if (PHP_VERSION_ID >= 80000) {
print "vld isn't supported by PHP8";
}

if (strpos(system(PHP_BINARY . " -d error_log=/dev/null -d extension=vld.so -m 2>/dev/null"), "vld") === FALSE) {
Expand Down

0 comments on commit 53f83f8

Please sign in to comment.