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.
23 lines
355 B
PHP
23 lines
355 B
PHP
--TEST--
|
|
Memcached::phpinfo()
|
|
--SKIPIF--
|
|
<?php
|
|
include "skipif.inc";
|
|
if (!Memcached::HAVE_SESSION) print "skip";
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
ob_start();
|
|
phpinfo(INFO_MODULES);
|
|
$output = ob_get_clean();
|
|
|
|
$array = explode("\n", $output);
|
|
$array = preg_grep('/^memcached/', $array);
|
|
|
|
echo implode("\n", $array);
|
|
|
|
--EXPECTF--
|
|
memcached
|
|
memcached support => enabled
|
|
%A
|