diff options
Diffstat (limited to 'ext/dbx/tests/004.phpt')
-rw-r--r-- | ext/dbx/tests/004.phpt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ext/dbx/tests/004.phpt b/ext/dbx/tests/004.phpt deleted file mode 100644 index 233bf49be1..0000000000 --- a/ext/dbx/tests/004.phpt +++ /dev/null @@ -1,35 +0,0 @@ ---TEST-- -dbx_close ---SKIPIF-- -<?php -include_once("skipif.inc"); -?> ---FILE-- -<?php -include_once("dbx_test.p"); -$dlo = dbx_connect($module, $host, $database, $username, $password); -if ($module===DBX_OCI8 || $module===DBX_SQLITE) { // close for oci8 and sqlite always return NULL since it doesn't do anything - print('close works ok'."\n"); - } -else { - if ($dlo!=0) { - if (dbx_close($dlo)) { - print('close works ok'."\n"); - } - } - } -if (!@dbx_close($dlo)) { - print('close failure works ok'."\n"); - } -if (!@dbx_close($dlo, "12many")) { - print('too many parameters: close failure works ok'."\n"); - } -if (!@dbx_close()) { - print('too few parameters: close failure works ok'."\n"); - } -?> ---EXPECT-- -close works ok -close failure works ok -too many parameters: close failure works ok -too few parameters: close failure works ok
\ No newline at end of file |