Doc #75985 [Opn->Ver]: dbase_create foxpro
| From: | cmb@php.net | Date: | Tue, 20 Feb 2018 13:32:00 +0000 |
| Subject: | Doc #75985 [Opn->Ver]: dbase_create foxpro | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15449@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75985&edit=1
ID: 75985
Updated by: cmb@php.net
Reported by: denvolin at gmail dot com
Summary: dbase_create foxpro
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: dbase
Operating System: Ubuntu 16
PHP Version: 7.0.27
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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>).
Previous Comments:
------------------------------------------------------------------------
[2018-02-20 11:57:07] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75985&edit=1