Bug #3777: Dbase_create fails to recognize array of arrays

From: Date: Thu, 09 Mar 2000 01:28:28 +0000
Subject: Bug #3777: Dbase_create fails to recognize array of arrays
Groups: php.dev 
Request: Send a blank email to php-dev+get-16559@lists.php.net to get a copy of this message
From: candrsn@mindsprng.com Operating system: Solaris 2.7 PHP version: 3.0.15 PHP Bug Type: dBase related Bug description: Dbase_create fails to recognize array of arrays 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 <?php $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; } ?> 

« previous php.dev (#16559) next »