Files
php-memcached/tests/setget_zero_factor.phpt
Pavel Djundik 7348cc11f7 Move working tests up a folder (#503)
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.
2023-04-27 08:35:07 -07:00

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)