mirror of
https://github.com/php/php-src.git
synced 2024-10-06 01:06:14 +00:00
13 lines
413 B
PHP
13 lines
413 B
PHP
<?php
|
|
if (!extension_loaded('dba')) die('skip dba extension not available');
|
|
if (!function_exists('dba_handlers')) die ('skip dba_handlers() not available');
|
|
if (!sizeof(dba_handlers())) die('skip no handlers installed');
|
|
// CDB currently supports only reading
|
|
$handler = dba_handlers();
|
|
if ($handler[0]=='cdb') {
|
|
if (count($handler)==1) {
|
|
die('skip CDB currently supports only reading ');
|
|
}
|
|
}
|
|
?>
|