Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php declare(strict_types=1); namespace PhpOffice\PhpSpreadsheetTests\Reader\Xlsx; use..

Decoded Output download

<?php

declare(strict_types=1);

namespace PhpOffice\PhpSpreadsheetTests\Reader\Xlsx;

use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
use PHPUnit\Framework\TestCase;

class AbsolutePathTest extends TestCase
{
    public static function testPr1869(): void
    {
        $xlsxFile = 'tests/data/Reader/XLSX/pr1769e.xlsx';
        $reader = new Xlsx();
        $result = $reader->listWorksheetInfo($xlsxFile);

        self::assertIsArray($result);
        self::assertEquals(3, $result[0]['totalRows']);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace PhpOffice\PhpSpreadsheetTests\Reader\Xlsx;

use PhpOffice\PhpSpreadsheet\Reader\Xlsx;
use PHPUnit\Framework\TestCase;

class AbsolutePathTest extends TestCase
{
    public static function testPr1869(): void
    {
        $xlsxFile = 'tests/data/Reader/XLSX/pr1769e.xlsx';
        $reader = new Xlsx();
        $result = $reader->listWorksheetInfo($xlsxFile);

        self::assertIsArray($result);
        self::assertEquals(3, $result[0]['totalRows']);
    }
}

Function Calls

None

Variables

None

Stats

MD5 de085d82529e0a83f523fe90bd10957b
Eval Count 0
Decode Time 132 ms