1--TEST-- 2Bug #36436 (DBA problem with Berkeley DB4) 3--SKIPIF-- 4<?php 5 $handler = 'db4'; 6 require_once(__DIR__ .'/skipif.inc'); 7?> 8--FILE-- 9<?php 10 11$handler = 'db4'; 12require_once(__DIR__ .'/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--CLEAN-- 28<?php 29 require(__DIR__ .'/clean.inc'); 30?> 31--EXPECTF-- 32resource(%d) of type (dba persistent) 33string(3) "XYZ" 34string(1) "X" 35string(1) "Y" 36