Switch to using str_getcsv rather than explode to handle test data strings containing commas
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85851 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
b2624a2ad1
commit
c92f4560e6
|
@ -57,7 +57,7 @@ class testDataFileIterator implements Iterator
|
|||
list($testData) = explode('//',$testDataRow);
|
||||
|
||||
// Split data into an array of individual values and a result
|
||||
$dataSet = explode(',',$testData);
|
||||
$dataSet = str_getcsv($testData,',',"'");
|
||||
foreach($dataSet as &$dataValue) {
|
||||
$dataValue = $this->_parseDataValue($dataValue);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue