1--TEST-- 2dba_fetch() legacy signature 3--EXTENSIONS-- 4dba 5--SKIPIF-- 6<?php 7require_once __DIR__ . '/setup/setup_dba_tests.inc'; 8check_skip_any(); 9?> 10--FILE-- 11<?php 12require_once __DIR__ . '/setup/setup_dba_tests.inc'; 13$name = 'legacy_fetch_signature.db'; 14 15$db = get_any_db($name); 16 17dba_insert("key1", "This is a test insert", $db); 18echo dba_fetch("key1", 0, $db), \PHP_EOL, dba_fetch("key1", $db, 0); 19dba_close($db); 20 21?> 22--CLEAN-- 23<?php 24require_once __DIR__ . '/setup/setup_dba_tests.inc'; 25$db_name = 'legacy_fetch_signature.db'; 26cleanup_standard_db($db_name); 27?> 28--EXPECTF-- 29Using handler: "%s" 30This is a test insert 31This is a test insert 32