mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
24 lines
506 B
Plaintext
24 lines
506 B
Plaintext
|
--TEST--
|
||
|
DBA lock modifier error message test
|
||
|
--SKIPIF--
|
||
|
<?php
|
||
|
$handler = "flatfile";
|
||
|
require_once(dirname(__FILE__) .'/skipif.inc');
|
||
|
?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$handler = "flatfile";
|
||
|
require_once(dirname(__FILE__) .'/test.inc');
|
||
|
echo "database handler: $handler\n";
|
||
|
|
||
|
$db_file1 = dba_popen($db_filename, 'n-t', 'flatfile');
|
||
|
|
||
|
?>
|
||
|
===DONE===
|
||
|
--EXPECTF--
|
||
|
database handler: flatfile
|
||
|
|
||
|
Warning: dba_popen(%stest0.dbm,n-t): You cannot combine modifiers - (no lock) and t (test lock) in %sdba016.php on line %d
|
||
|
===DONE===
|