Skip to content

Commit 94e1e40

Browse files
committed
missing SKIPIF in enum test
1 parent 4ade6c3 commit 94e1e40

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/enum001.phpt

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
--TEST--
22
Enums
3+
--SKIPIF--
4+
<?php
5+
if (!extension_loaded("msgpack")) {
6+
exit('skip because msgpack extension is missing');
7+
}
8+
if (version_compare(PHP_VERSION, '8.1.0', '<')) {
9+
exit('skip Enum tests in PHP older than 8.1.0');
10+
}
11+
?>
312
--FILE--
413
<?php
514
echo "Test\n";

0 commit comments

Comments
 (0)