mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-16 13:06:31 +00:00
21 lines
501 B
PHP
21 lines
501 B
PHP
<?php
|
|
|
|
namespace PhpOffice\PhpSpreadsheetTests\Reader\Xlsx;
|
|
|
|
use PhpOffice\PhpSpreadsheet\IOFactory;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class Issue3277Test extends TestCase
|
|
{
|
|
public function testIssue3227(): void
|
|
{
|
|
$filename = 'tests/data/Reader/XLSX/issue.3277.xlsx';
|
|
$reader = IOFactory::createReader('Xlsx');
|
|
$spreadsheet = $reader->load($filename);
|
|
|
|
$array = $spreadsheet->getActiveSheet()->toArray();
|
|
|
|
self::assertSame('data', $array[0][0]);
|
|
}
|
|
}
|