php.net |  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.
Password:
Status:
Package:
Bug Type:
Summary:
From: denvolin at gmail dot com
New email:
PHP Version: OS:

 

 [2018-02-20 11:57 UTC] denvolin at gmail dot com
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-20 13:31 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2018-02-20 13:31 UTC] cmb@php.net
The optional $type parameter and the two constants are supposed to
be available as of dbase 7.0.0 only (cf.
<http://svn.php.net/viewvc?view=revision&revision=340858>).
 [2018-02-20 13:46 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=344315
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] cmb@php.net
-Status: Verified +Status: Closed
 [2018-02-20 13:47 UTC] cmb@php.net
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] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=020d1e35e5f72c955e90fafbb14f42c8f173fb4b
Log: Fix bug #75985: dbase_create foxpro
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC