mirror of
https://github.com/php/php-src.git
synced 2024-10-14 13:02:37 +00:00
86c0d81253
now it will run smoothly without all theese 'undefined ...' warnings
18 lines
398 B
PHP
18 lines
398 B
PHP
--TEST--
|
|
DBM Insert/Replace/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");
|
|
dbmreplace("./test.dbm","key1","This is the replacement text");
|
|
$a = dbmfetch("./test.dbm","key1");
|
|
dbmclose("./test.dbm");
|
|
echo $a
|
|
?>
|
|
--EXPECT--
|
|
This is the replacement text
|