mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Only improved comments in source code
This commit is contained in:
@@ -549,7 +549,7 @@ class parseCSV {
|
|||||||
$n = 1;
|
$n = 1;
|
||||||
$to_end = true;
|
$to_end = true;
|
||||||
|
|
||||||
// walk specific depth finding posssible delimiter characters
|
// walk specific depth finding possible delimiter characters
|
||||||
for ($i = 0; $i < $strlen; $i++) {
|
for ($i = 0; $i < $strlen; $i++) {
|
||||||
$ch = $data{$i};
|
$ch = $data{$i};
|
||||||
$nch = (isset($data{$i + 1})) ? $data{$i + 1} : false;
|
$nch = (isset($data{$i + 1})) ? $data{$i + 1} : false;
|
||||||
@@ -1169,11 +1169,11 @@ class parseCSV {
|
|||||||
/**
|
/**
|
||||||
* Detect separator using a nonstandard hack: such file starts with the
|
* Detect separator using a nonstandard hack: such file starts with the
|
||||||
* first line containing only "sep=;", where the last character is the
|
* first line containing only "sep=;", where the last character is the
|
||||||
* separator.
|
* separator. Microsoft Excel is able to open such files.
|
||||||
*
|
*
|
||||||
* @access protected
|
* @access protected
|
||||||
*
|
*
|
||||||
* @param string $data file data
|
* @param string $data file data
|
||||||
*
|
*
|
||||||
* @return string|false detected delimiter, or false if none found
|
* @return string|false detected delimiter, or false if none found
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user