mirror of
https://github.com/php-win-ext/php-memcached.git
synced 2026-03-24 17:12:22 +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.
22 lines
327 B
PHP
22 lines
327 B
PHP
--TEST--
|
|
Memcached::getVersion()
|
|
--SKIPIF--
|
|
<?php include "skipif.inc";?>
|
|
--FILE--
|
|
<?php
|
|
$m = new Memcached();
|
|
var_dump($m->getVersion());
|
|
|
|
include dirname(__FILE__) . "/config.inc";
|
|
$m = memc_get_instance ();
|
|
|
|
$stats = $m->getVersion();
|
|
var_dump($stats);
|
|
|
|
--EXPECTF--
|
|
bool(false)
|
|
array(%d) {
|
|
["%s:%d"]=>
|
|
string(%d) "%s"
|
|
}
|