diff options
author | Marcus Boerger <helly@php.net> | 2002-11-01 14:21:36 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-11-01 14:21:36 +0000 |
commit | d50e62cbacc55a4348aac04e77e5f2946218133f (patch) | |
tree | 59c6fbcc43ad15a793f013a06d8e729f5ea60b07 /ext/dba/tests/dba001.phpt | |
parent | 5ab8fb4df142686cda5126b9655bca9187a88293 (diff) | |
download | php-git-d50e62cbacc55a4348aac04e77e5f2946218133f.tar.gz |
Always show handler used
Diffstat (limited to 'ext/dba/tests/dba001.phpt')
-rw-r--r-- | ext/dba/tests/dba001.phpt | 8 |
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 |