mirror of
https://github.com/php/php-src.git
synced 2024-10-05 00:36:17 +00:00
4be7f4aecd
- com_dotnet gets a .cvsignore - Ulf will take care of mysql extensions, rest complete
22 lines
428 B
PHP
22 lines
428 B
PHP
--TEST--
|
|
DBA File Creation Test
|
|
--SKIPIF--
|
|
<?php
|
|
require_once('skipif.inc');
|
|
die("info $HND handler used");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
require_once('test.inc');
|
|
echo "database handler: $handler\n";
|
|
if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
|
|
echo "database file created\n";
|
|
dba_close($db_file);
|
|
} else {
|
|
echo "$db_file does not exist\n";
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
database handler: %s
|
|
database file created
|