mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Fixed O+ testes
This commit is contained in:
parent
9ef01ce698
commit
ac05e68f55
3 changed files with 12 additions and 12 deletions
|
@ -1,17 +1,17 @@
|
|||
--TEST--
|
||||
001: O+ works in CLI
|
||||
--INI--
|
||||
zend_optimizerplus.enable=1
|
||||
zend_optimizerplus.enable_cli=1
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
$config = accelerator_get_configuration();
|
||||
$status = accelerator_get_status();
|
||||
var_dump($config["directives"]["zend_optimizerplus.enable"]);
|
||||
var_dump($config["directives"]["zend_optimizerplus.enable_cli"]);
|
||||
var_dump($status["accelerator_enabled"]);
|
||||
$config = opcache_get_configuration();
|
||||
$status = opcache_get_status();
|
||||
var_dump($config["directives"]["opcache.enable"]);
|
||||
var_dump($config["directives"]["opcache.enable_cli"]);
|
||||
var_dump($status["opcache_enabled"]);
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
Bug #64353 (Built-in classes can be unavailable with dynamic includes and Optimizer+)
|
||||
--INI--
|
||||
allow_url_include=1
|
||||
zend_optimizerplus.enable=1
|
||||
zend_optimizerplus.enable_cli=1
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
--TEST--
|
||||
ISSUE #57 (segfaults in drupal7)
|
||||
--INI--
|
||||
zend_optimizerplus.enable=1
|
||||
zend_optimizerplus.enable_cli=1
|
||||
zend_optimizerplus.optimization_level=-1
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
opcache.optimization_level=-1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue