From: myckel at sdf dot lonestar dot org Operating system: Gentoo Linux PHP version: 5.1.2 PHP Bug Type: DBM/DBA related Bug description: dba_open gives an error about uncompatible modifiers when they aren't.
Description: ------------ Since my last distro php upgrade I can't open a DBA file with the "rdt" modifier (on a non-opened file). It gives an error on a n incompatible modifier combo. The PHP version is: PHP Version 5.1.2-pl1-gentoo Reproduce code: --------------- <?php /* config.db4 exists, but isn't opened */ dba_open("config.db4",rdt,db4); ?> Expected result: ---------------- Empty page, no errors. Actual result: -------------- HTTP server returns the following error: Warning: dba_open(config.db4,rdt) [function.dba-open]: You cannot combine modifiers - (no lock) and t (test lock) in /var/www/localhost/htdocs/test.php on line 4 -- Edit bug report at http://bugs.php.net/?id=37173&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37173&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37173&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37173&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37173&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37173&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37173&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37173&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37173&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37173&r=support Expected behavior: http://bugs.php.net/fix.php?id=37173&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37173&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37173&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37173&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37173&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37173&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37173&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37173&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37173&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37173&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37173&r=mysqlcfg