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); /** * This file is part of the Zephir. * * (c) Phalcon..
Decoded Output download
<?php
declare(strict_types=1);
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Extension;
use PHPUnit\Framework\TestCase;
use Stub\Chars;
final class CharsTest extends TestCase
{
private Chars $test;
protected function setUp(): void
{
$this->test = new Chars();
}
public function testSumChars(): void
{
$this->assertSame(\chr($this->test->sumChars1()), 'a');
$this->assertSame(\chr($this->test->sumChars2('A')), 'a');
}
public function testDiffChars(): void
{
$this->assertSame(\chr($this->test->diffChars1()), 'A');
$this->assertSame(\chr($this->test->diffChars2('a')), 'A');
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Extension;
use PHPUnit\Framework\TestCase;
use Stub\Chars;
final class CharsTest extends TestCase
{
private Chars $test;
protected function setUp(): void
{
$this->test = new Chars();
}
public function testSumChars(): void
{
$this->assertSame(\chr($this->test->sumChars1()), 'a');
$this->assertSame(\chr($this->test->sumChars2('A')), 'a');
}
public function testDiffChars(): void
{
$this->assertSame(\chr($this->test->diffChars1()), 'A');
$this->assertSame(\chr($this->test->diffChars2('a')), 'A');
}
}
Function Calls
None |
Stats
MD5 | 245d5a3d74b3033f8a45e289d5d9e416 |
Eval Count | 0 |
Decode Time | 109 ms |