📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 11:33:45
📂
/
/
opt
/
alt
/
tests
/
alt-php81-pecl-dbase_7.1.1-1.el8
/
tests
✏️
Editing: bug31754.phpt
--TEST-- Bug #31754 (dbase_open() fails for mode = 1) --SKIPIF-- <?php if (!extension_loaded('dbase')) { die('skip dbase extension not available'); } ?> --FILE-- <?php $filename = __DIR__ . DIRECTORY_SEPARATOR . 'bug31754.dbf'; // creation $dbh = dbase_create($filename, array(array('foo', 'L'))); dbase_close($dbh); $dbh = dbase_open($filename, 1); ?> --EXPECTF-- Warning: dbase_open(): Cannot open %s%ebug31754.dbf in write-only mode in %s%ebug31754.php on line %d --CLEAN-- <?php $filename = __DIR__ . DIRECTORY_SEPARATOR . 'bug31754.dbf'; unlink($filename); ?>
💾 Save Changes
❌ Cancel