--TEST-- dbase_create(): basic functionality --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- resource(%d) of type (dbase) int(5) array(5) { [0]=> array(6) { ["name"]=> string(2) "ID" ["type"]=> string(6) "number" ["length"]=> int(5) ["precision"]=> int(0) ["format"]=> string(3) "%5s" ["offset"]=> int(1) } [1]=> array(6) { ["name"]=> string(4) "NAME" ["type"]=> string(9) "character" ["length"]=> int(25) ["precision"]=> int(0) ["format"]=> string(5) "%-25s" ["offset"]=> int(6) } [2]=> array(6) { ["name"]=> string(8) "RELEASED" ["type"]=> string(4) "date" ["length"]=> int(8) ["precision"]=> int(0) ["format"]=> string(3) "%8s" ["offset"]=> int(31) } [3]=> array(6) { ["name"]=> string(8) "SUPORTED" ["type"]=> string(7) "boolean" ["length"]=> int(1) ["precision"]=> int(0) ["format"]=> string(3) "%1s" ["offset"]=> int(39) } [4]=> array(6) { ["name"]=> string(5) "PRICE" ["type"]=> string(6) "number" ["length"]=> int(10) ["precision"]=> int(2) ["format"]=> string(4) "%10s" ["offset"]=> int(40) } } int(0) bool(true) ===DONE=== --CLEAN--