Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
File_CSV Test Case 006: One field quote autodiscovery
3
--FILE--
4
<?php
5
// $Id: 006.phpt,v 1.2 2007/05/11 21:49:01 cipri Exp $
6
/**
7
 * Test for:
8
 * - File_CSV::discoverFormat()
9
 */
10
 
11
require_once 'File/CSV.php';
12
 
13
$file = dirname(__FILE__) . '/006.csv';
14
$conf = File_CSV::discoverFormat($file);
15
 
16
print "Format:\n";
17
print_r($conf);
18
print "\n";
19
?>
20
--EXPECT--
21
Format:
22
Array
23
(
24
    [fields] => 1
25
    [sep] => ,
26
    [quote] => "
27
)