1--TEST-- 2DBA File Creation Test 3--EXTENSIONS-- 4dba 5--SKIPIF-- 6<?php 7 require_once(__DIR__ .'/skipif.inc'); 8 die("info $HND handler used"); 9?> 10--FILE-- 11<?php 12 require_once(__DIR__ .'/test.inc'); 13 echo "database handler: $handler\n"; 14 if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) { 15 echo "database file created\n"; 16 dba_close($db_file); 17 } else { 18 echo "$db_file does not exist\n"; 19 } 20?> 21--CLEAN-- 22<?php 23 require(__DIR__ .'/clean.inc'); 24?> 25--EXPECTF-- 26database handler: %s 27database file created 28