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\Xls; use ..

Decoded Output download

<?php

declare(strict_types=1);

namespace PhpOffice\PhpSpreadsheetTests\Reader\Xls;

use PhpOffice\PhpSpreadsheet\Reader\Xls\MD5;
use PHPUnit\Framework\TestCase;

class Md5Test extends TestCase
{
    public function testMd5(): void
    {
        $md5 = new MD5();
        $md5->add('123456789a123456789b123456789c123456789d123456789e123456789f1234');
        $context = $md5->getContext();
        self::assertSame('0761293f016b925b0bca11b34f1ed613', bin2hex($context));
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace PhpOffice\PhpSpreadsheetTests\Reader\Xls;

use PhpOffice\PhpSpreadsheet\Reader\Xls\MD5;
use PHPUnit\Framework\TestCase;

class Md5Test extends TestCase
{
    public function testMd5(): void
    {
        $md5 = new MD5();
        $md5->add('123456789a123456789b123456789c123456789d123456789e123456789f1234');
        $context = $md5->getContext();
        self::assertSame('0761293f016b925b0bca11b34f1ed613', bin2hex($context));
    }
}

Function Calls

None

Variables

None

Stats

MD5 7bae9ac54cccac987f2c5a05bdb0be27
Eval Count 0
Decode Time 76 ms