mirror of
https://github.com/php-win-ext/php-memcached.git
synced 2026-04-24 01:08:03 +02:00
7348cc11f7
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.
22 lines
504 B
PHP
22 lines
504 B
PHP
--TEST--
|
|
Memcached::cas() with strange key
|
|
--SKIPIF--
|
|
<?php include "skipif.inc";?>
|
|
--FILE--
|
|
<?php
|
|
include dirname(__FILE__) . '/config.inc';
|
|
$m = memc_get_instance ();
|
|
|
|
error_reporting(0);
|
|
var_dump($m->cas(0, '', true, 10));
|
|
echo $m->getResultMessage(), "\n";
|
|
|
|
var_dump($m->cas(0, ' äö jas kjjhask d ', true, 10)); # no spaces allowed
|
|
echo $m->getResultMessage(), "\n";
|
|
|
|
--EXPECTF--
|
|
bool(false)
|
|
A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
|
|
bool(false)
|
|
A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
|