Skip to content

Commit 789feaa

Browse files
committed
fix skipif condition
1 parent b7a2d01 commit 789feaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/end-to-end-with-coverage-driver/warn-when-opcache-enabled/warn-when-opcache-enabled.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ XDEBUG_MODE=coverage
99
<?php declare(strict_types=1);
1010
require __DIR__ . '/../_files/skip-if-requires-code-coverage-driver.php';
1111

12-
if (!function_exists('opcache_compile_file')) {
12+
if (!extension_loaded('Zend OPcache')) {
1313
echo 'skip, opcache extension is not loaded';
1414
} elseif (ini_get('opcache.enable_cli') !== '1') {
1515
echo 'skip, opcache not enabled for CLI';

0 commit comments

Comments
 (0)