diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2021-12-01 11:25:34 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2021-12-01 11:25:34 +0000 |
commit | cebef9691b891f8cbf611ce65eea7bc8a07874b7 (patch) | |
tree | 97c7e49280821565bddfa5136eb1bb476152b349 /test/php/cwd/index.php | |
parent | c58601c11fd2f2c583d94f31b63c7d16319a2614 (diff) | |
download | unit-cebef9691b891f8cbf611ce65eea7bc8a07874b7.tar.gz unit-cebef9691b891f8cbf611ce65eea7bc8a07874b7.tar.bz2 |
Tests: fixed skipping tests with disabled OPcache.
Diffstat (limited to 'test/php/cwd/index.php')
-rw-r--r-- | test/php/cwd/index.php | 2 |
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); |