xref: /PHP-8.0/ext/dba/tests/dba016.phpt (revision c5401854)
1--TEST--
2DBA lock modifier error message test
3--SKIPIF--
4<?php
5$handler = "flatfile";
6require_once(__DIR__ .'/skipif.inc');
7?>
8--FILE--
9<?php
10
11$handler = "flatfile";
12require_once(__DIR__ .'/test.inc');
13echo "database handler: $handler\n";
14
15$db_file1 = dba_popen($db_filename, 'n-t', 'flatfile');
16
17?>
18--CLEAN--
19<?php
20    require(__DIR__ .'/clean.inc');
21?>
22--EXPECTF--
23database handler: flatfile
24
25Warning: dba_popen(%stest0.dbm,n-t): You cannot combine modifiers - (no lock) and t (test lock) in %sdba016.php on line %d
26