diff options
Diffstat (limited to 'ext/db/tests/005.phpt')
-rw-r--r-- | ext/db/tests/005.phpt | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/ext/db/tests/005.phpt b/ext/db/tests/005.phpt deleted file mode 100644 index 6105f533d8..0000000000 --- a/ext/db/tests/005.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -DBM FirstKey/NextKey Loop Test With 5 Items ---SKIPIF-- -<?php if (!extension_loaded("db")) print "skip"; ?> ---FILE-- -<?php - require_once('test.inc'); - if (dbmopen($db_file, "n")) { - dbminsert($db_file, "key1", "Content String 1"); - dbminsert($db_file, "key2", "Content String 2"); - dbminsert($db_file, "key3", "Third Content String"); - dbminsert($db_file, "key4", "Another Content String"); - dbminsert($db_file, "key5", "The last content string"); - $a = dbmfirstkey($db_file); - $i=0; - while($a) { - $a = dbmnextkey($db_file, $a); - $i++; - } - dbmclose($db_file); - echo $i; - } else { - echo "Error creating database\n"; - } -?> ---EXPECT-- -5 |