summaryrefslogtreecommitdiff
path: root/ext/dba/tests/dba_db4_003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dba/tests/dba_db4_003.phpt')
-rw-r--r--ext/dba/tests/dba_db4_003.phpt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/dba/tests/dba_db4_003.phpt b/ext/dba/tests/dba_db4_003.phpt
index 084bff8d87..7e8568c085 100644
--- a/ext/dba/tests/dba_db4_003.phpt
+++ b/ext/dba/tests/dba_db4_003.phpt
@@ -26,6 +26,10 @@ if (($db_file = dba_open($db_filename, "c", $handler)) !== FALSE) {
echo "Error creating $db_filename\n";
}
+// Check the file still exists
+$s = file_get_contents($db_filename);
+echo "$s\n";
+
?>
--CLEAN--
<?php
@@ -39,3 +43,4 @@ Notice: dba_open(): %stest0.dbm: unexpected file type or format in %sdba_db4_003
Warning: dba_open(%stest0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in %sdba_db4_003.php on line %d
Error creating %stest0.dbm
+Dummy contents