summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/php/cwd/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/php/cwd/index.php b/test/php/cwd/index.php
index de3797e4..eb2cc5b3 100644
--- a/test/php/cwd/index.php
+++ b/test/php/cwd/index.php
@@ -11,7 +11,7 @@ $opcache = -1;
if (function_exists('opcache_get_status')) {
$status = opcache_get_status();
- $opcache = $status['opcache_enabled'];
+ $opcache = $status['opcache_enabled'] ? '1' : '0';
}
header('X-OPcache: ' . $opcache);