helly Sat Feb 18 16:58:50 2006 UTC Added files: /php-src/ext/dba/tests bug36436.phpt Log: - Add new test
http://cvs.php.net/viewcvs.cgi/php-src/ext/dba/tests/bug36436.phpt?view=markup&rev=1.1 Index: php-src/ext/dba/tests/bug36436.phpt +++ php-src/ext/dba/tests/bug36436.phpt --TEST-- Bug #36436 DBA problem with Berkeley DB4 --SKIPIF-- <?php $handler = 'db4'; require_once('skipif.inc'); ?> --FILE-- <?php $handler = 'db4'; require_once('test.inc'); $db = dba_popen($db_filename, 'c', 'db4'); dba_insert('X', 'XYZ', $db); dba_insert('Y', '123', $db); var_dump($db, dba_fetch('X', $db)); var_dump(dba_firstkey($db)); var_dump(dba_nextkey($db)); dba_close($db); unlink($db_filename); ?> ===DONE=== --EXPECTF-- resource(%d) of type (dba persistent) string(3) "XYZ" string(1) "X" string(1) "Y" ===DONE=== -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php