Skip to content

Commit

Permalink
missing SKIPIF in enum test
Browse files Browse the repository at this point in the history
  • Loading branch information
m6w6 committed Aug 19, 2024
1 parent 4ade6c3 commit 94e1e40
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/enum001.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
--TEST--
Enums
--SKIPIF--
<?php
if (!extension_loaded("msgpack")) {
exit('skip because msgpack extension is missing');
}
if (version_compare(PHP_VERSION, '8.1.0', '<')) {
exit('skip Enum tests in PHP older than 8.1.0');
}
?>
--FILE--
<?php
echo "Test\n";
Expand Down

0 comments on commit 94e1e40

Please sign in to comment.