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\Optimizers;
use PHPUnit\Framework\TestCase;
use Stub\Optimizers\CreateArray;
final class CreateArrayTest extends TestCase
{
public function testCreateArrayNoSize(): void
{
$test = new CreateArray();
$this->assertSame(\count($test->createNoSize()), 0);
}
public function testCreateArraySize(): void
{
$test = new CreateArray();
$this->assertSame(\count($test->createSize(3)), 3);
$this->assertSame(\count($test->createSize(10)), 10);
}
}
?>
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\Optimizers;
use PHPUnit\Framework\TestCase;
use Stub\Optimizers\CreateArray;
final class CreateArrayTest extends TestCase
{
public function testCreateArrayNoSize(): void
{
$test = new CreateArray();
$this->assertSame(\count($test->createNoSize()), 0);
}
public function testCreateArraySize(): void
{
$test = new CreateArray();
$this->assertSame(\count($test->createSize(3)), 3);
$this->assertSame(\count($test->createSize(10)), 10);
}
}
Function Calls
None |
Stats
MD5 | 6cf27458f598faac1ffe03c086b811c5 |
Eval Count | 0 |
Decode Time | 88 ms |