|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3777 Dbase_create fails to recognize array of arrays
Submitted: 2000-03-08 20:28 UTC Modified: 2001-10-31 18:54 UTC
From: candrsn at mindsprng dot com Assigned:
Status: Closed Package: dBase related
PHP Version: 4.0b4pl1 OS: Solaris 2.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: candrsn at mindsprng dot com
New email:
PHP Version: OS:


 [2000-03-08 20:28 UTC] candrsn at mindsprng dot com
under 4.0b4p1  for apachemodules and standalone binary
dbase_create fails with message
" second parameter must be array of arrays in ... "

this same fcn runs under 3.0.15
and runs correctly under linux rh6.1 with 4.0b4p1

compiler was gcc 2.95.2

flags were

scripts was

$dcfile = '/tables/ave/datacat/datacat.dbf';

$dbfdef = array (
 array ('DATASRC','C',100,0),
 array ('DATALIMIT','C',250,0),
 array ('DATACLLCT','C',250,0),
 array ('DATADESCR','C',250,0),
 array ('DATANAME','C',80,0),
 array ('LEGEND_SRC','C',80,0),
  array ('CATEGORY','C',30,0),
  array ('SCRIPT','C',80,0)

$dbf = dbase_create ($dcfile, $dbfdef);
if ( !$dbf ) { echo "unable to create file!!!<br></body></html>"; exit; }



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 15:57 UTC]
fixing version number in report.
 [2001-10-31 18:54 UTC]
Works fine with latest CVS.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 10:01:30 2024 UTC