php-src/ext/db/tests/002.phpt
Hartmut Holzgraefe 86c0d81253 have you ever tried to run the regression tests with error_reporting=E_ALL ?
now it will run smoothly without all theese 'undefined ...' warnings
2000-10-23 07:40:05 +00:00

17 lines
318 B
PHP

--TEST--
DBM Insert/Fetch Test
--SKIPIF--
<?php if (!extension_loaded("db")) print "skip"; ?>
--POST--
--GET--
--FILE--
<?php
dbmopen("./test.dbm","n");
dbminsert("./test.dbm","key1","This is a test insert");
$a = dbmfetch("./test.dbm","key1");
dbmclose("./test.dbm");
echo $a
?>
--EXPECT--
This is a test insert