|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #75985 dbase_create foxpro
Submitted: 2018-02-20 11:57 UTC Modified: 2018-02-20 13:47 UTC
From: denvolin at gmail dot com Assigned: cmb (profile)
Status: Closed Package: dbase (PECL)
PHP Version: 7.0.27 OS: Ubuntu 16
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: denvolin at gmail dot com
New email:
PHP Version: OS:


 [2018-02-20 11:57 UTC] denvolin at gmail dot com
dbase_create accepts only 2 params, but 3 expected
as well as constant DBASE_TYPE_FOXPRO is undefined

Test script:
$DBF = dbase_create($file, $def, DBASE_TYPE_FOXPRO)

Expected result:
DBF file saved in foxpro format.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-20 13:31 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2018-02-20 13:31 UTC]
The optional $type parameter and the two constants are supposed to
be available as of dbase 7.0.0 only (cf.
 [2018-02-20 13:46 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix bug #75985: dbase_create foxpro

We add the missing changelog entry, and also mark the
$type parameter as optional.
 [2018-02-20 13:47 UTC]
-Status: Verified +Status: Closed
 [2018-02-20 13:47 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:05 UTC]
Automatic comment on behalf of cmb
Log: Fix bug #75985: dbase_create foxpro
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Sep 26 09:01:24 2020 UTC