summaryrefslogtreecommitdiff
path: root/ext/dba/tests/dba001.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-11-01 14:21:36 +0000
committerMarcus Boerger <helly@php.net>2002-11-01 14:21:36 +0000
commitd50e62cbacc55a4348aac04e77e5f2946218133f (patch)
tree59c6fbcc43ad15a793f013a06d8e729f5ea60b07 /ext/dba/tests/dba001.phpt
parent5ab8fb4df142686cda5126b9655bca9187a88293 (diff)
downloadphp-git-d50e62cbacc55a4348aac04e77e5f2946218133f.tar.gz
Always show handler used
Diffstat (limited to 'ext/dba/tests/dba001.phpt')
-rw-r--r--ext/dba/tests/dba001.phpt8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/dba/tests/dba001.phpt b/ext/dba/tests/dba001.phpt
index 909f78214d..68d3373376 100644
--- a/ext/dba/tests/dba001.phpt
+++ b/ext/dba/tests/dba001.phpt
@@ -7,12 +7,14 @@ DBA File Creation Test
--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 with $handler.\n";
+ echo "database file created\n";
+ dba_close($db_file);
} else {
echo "$db_file does not exist\n";
}
- dba_close($db_file);
?>
--EXPECTF--
-database file created with %s. \ No newline at end of file
+database handler: %s
+database file created \ No newline at end of file