Skip to content

Commit

Permalink
Skip test if opcode isn't loaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Jun 27, 2016
1 parent 2ed5992 commit c51a26c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/bug01263-php7.phpt
@@ -1,7 +1,8 @@
--TEST--
Test for bug #1210: Coverage of sending arguments to a method (>= PHP 7.0)
Test for bug #1263: Coverage of sending arguments to a method (>= PHP 7.0.8)
--SKIPIF--
<?php if (!version_compare(phpversion(), "7.0", '>=')) echo "skip >= PHP 7.0 needed\n"; ?>
<?php if (!version_compare(phpversion(), "7.0.8", '>=')) echo "skip >= PHP 7.0.8 needed\n"; ?>
<?php if (!extension_loaded('opcache')) echo "skip opcache required\n"; ?>
--EXTENSIONS--
opcache
--INI--
Expand Down

0 comments on commit c51a26c

Please sign in to comment.