File size: 282 Bytes
1e94262
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
DBA new flags ValueError test
--EXTENSIONS--
dba
--FILE--
<?php
try {
    dba_open('irrelevant', 'c', 'handler', flags: -1);
} catch (\ValueError $e) {
    echo $e->getMessage(), \PHP_EOL;
}
?>
--EXPECT--
dba_open(): Argument #6 ($flags) must be greater than or equal to 0