xref: /PHP-5.5/ext/opcache/tests/001_cli.phpt (revision ac05e68f)
1--TEST--
2001: O+ works in CLI
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6--SKIPIF--
7<?php require_once('skipif.inc'); ?>
8--FILE--
9<?php
10$config = opcache_get_configuration();
11$status = opcache_get_status();
12var_dump($config["directives"]["opcache.enable"]);
13var_dump($config["directives"]["opcache.enable_cli"]);
14var_dump($status["opcache_enabled"]);
15?>
16--EXPECT--
17bool(true)
18bool(true)
19bool(true)
20