mirror of
https://github.com/php-win-ext/php-memcached.git
synced 2026-03-24 00:52:18 +01:00
Tests in the experimental/ folder were not executed on CI. The ones that work move up, the few that remain in experimental/ need further investigation to get working or remove.
20 lines
341 B
PHP
20 lines
341 B
PHP
--TEST--
|
|
Compress with 0 factor and get
|
|
--SKIPIF--
|
|
<?php include "skipif.inc";?>
|
|
--FILE--
|
|
<?php
|
|
include dirname(__FILE__) . '/config.inc';
|
|
$m = memc_get_instance ();
|
|
|
|
ini_set('memcached.compression_factor', 0);
|
|
$array = range(1, 20000, 1);
|
|
|
|
$m->set('foo', $array, 10);
|
|
$rv = $m->get('foo');
|
|
var_dump($array === $rv);
|
|
|
|
|
|
--EXPECT--
|
|
bool(true)
|