Date: 06/27/98
- Next message: Philip Quaife: "[PHP-DEV] RE: Bug #485 Updated: ereg_replace and Linefeeds"
- Previous message: shane: "[PHP-DEV] CVS update: php31/sapi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Saturday June 27, 1998 @ 21:15
Author: jim
Update of /repository/php3/tests
In directory asf:/tmp/cvs-serv19759/tests
Modified Files:
dbase.phtml
Log Message:
Change ({ }) to array() since the former is no longer supported.
Index: php3/tests/dbase.phtml
diff -c php3/tests/dbase.phtml:1.1 php3/tests/dbase.phtml:1.2
*** php3/tests/dbase.phtml:1.1 Sun Sep 28 21:37:31 1997
--- php3/tests/dbase.phtml Sat Jun 27 21:15:59 1998
***************
*** 2,14 ****
# $fn = tempnam(".", "dbase") . ".dbf";
$fn = "dbase.dbf";
! $db_struct = ({ ({"text", "c", 10}), /* 10 character field */
! ({"number", "n", 20, 0}), /* 20-digit number */
! ({"double", "n", 10, 2}), /* 10-digit number with 2 decimal places */
! # ({"memo", "m"}), /* memo field (not really supported) */
! ({"logical", "l"}), /* logical field */
! ({"date", "d"}) /* date field */
! });
echo "creating $fn\n";
$id = dbase_create($fn, &$db_struct);
--- 2,14 ----
# $fn = tempnam(".", "dbase") . ".dbf";
$fn = "dbase.dbf";
! $db_struct = array( array("text", "c", 10), /* 10 character field */
! array("number", "n", 20, 0), /* 20-digit number */
! array("double", "n", 10, 2), /* 10-digit number with 2 decimal places */
! # array("memo", "m"), /* memo field (not really supported) */
! array("logical", "l"), /* logical field */
! array("date", "d") /* date field */
! );
echo "creating $fn\n";
$id = dbase_create($fn, &$db_struct);
- Next message: Philip Quaife: "[PHP-DEV] RE: Bug #485 Updated: ereg_replace and Linefeeds"
- Previous message: shane: "[PHP-DEV] CVS update: php31/sapi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

