Skip to content

Commit

Permalink
tests: skip if not PHP 8.1 krakjoe#172
Browse files Browse the repository at this point in the history
  • Loading branch information
kornrunner committed Jul 13, 2023
1 parent 5059dca commit 6c07b8a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/bugs/gh172.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
--TEST--
handle ZEND_VERIFY_NEVER_TYPE when uopz.exit disabled
--SKIPIF--
<?php
if (version_compare(PHP_VERSION, '8.1.0', '<')) {
die("skip: PHP 8.1+ only");
}
--EXTENSIONS--
uopz
--INI--
Expand Down
5 changes: 5 additions & 0 deletions tests/bugs/gh172a.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
--TEST--
do not handle ZEND_VERIFY_NEVER_TYPE if not uopz_allow_exit
--SKIPIF--
<?php
if (version_compare(PHP_VERSION, '8.1.0', '<')) {
die("skip: PHP 8.1+ only");
}
--EXTENSIONS--
uopz
--INI--
Expand Down

0 comments on commit 6c07b8a

Please sign in to comment.