diff options
| author | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
| commit | 078bcec0997ad0e07b720c43cc9e6d0e046a75ab (patch) | |
| tree | 36cb0f6be2ef078fe3374de8c087b93ecf82f812 /ext/db/tests/006.phpt | |
| parent | fd61f69077f6156ca71dde60ecfd9ed9765a02db (diff) | |
| download | php-git-078bcec0997ad0e07b720c43cc9e6d0e046a75ab.tar.gz | |
This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5
Diffstat (limited to 'ext/db/tests/006.phpt')
| -rw-r--r-- | ext/db/tests/006.phpt | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/ext/db/tests/006.phpt b/ext/db/tests/006.phpt deleted file mode 100644 index c5ffd597ca..0000000000 --- a/ext/db/tests/006.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -DBM FirstKey/NextKey with 2 deletes ---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"); - dbmdelete($db_file, "key3"); - dbmdelete($db_file, "key1"); - $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-- -3 |
