1--TEST-- 2Bug #36436 (DBA problem with Berkeley DB4) 3--SKIPIF-- 4<?php 5 $handler = 'db4'; 6 require_once(dirname(__FILE__) .'/skipif.inc'); 7?> 8--FILE-- 9<?php 10 11$handler = 'db4'; 12require_once(dirname(__FILE__) .'/test.inc'); 13 14$db = dba_popen($db_filename, 'c', 'db4'); 15 16dba_insert('X', 'XYZ', $db); 17dba_insert('Y', '123', $db); 18 19var_dump($db, dba_fetch('X', $db)); 20 21var_dump(dba_firstkey($db)); 22var_dump(dba_nextkey($db)); 23 24dba_close($db); 25 26?> 27===DONE=== 28--CLEAN-- 29<?php 30 require(dirname(__FILE__) .'/clean.inc'); 31?> 32--EXPECTF-- 33resource(%d) of type (dba persistent) 34string(3) "XYZ" 35string(1) "X" 36string(1) "Y" 37===DONE=== 38