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 /** * This file is part of the Zephir. * * (c) Phalcon Team <[email protected]..

Decoded Output download

<?php

/**
 * 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.
 */

declare(strict_types=1);

namespace Zephir\Test\Class;

use PHPUnit\Framework\TestCase;
use Zephir\Class\Entry;

final class EntryTest extends TestCase
{
    public function testShouldEscapeClassName(): void
    {
        $classname = '\Bar\Foo';
        $this->assertSame(
            Entry::escape($classname),
            '\\Bar\\Foo'
        );
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/**
 * 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.
 */

declare(strict_types=1);

namespace Zephir\Test\Class;

use PHPUnit\Framework\TestCase;
use Zephir\Class\Entry;

final class EntryTest extends TestCase
{
    public function testShouldEscapeClassName(): void
    {
        $classname = '\Bar\Foo';
        $this->assertSame(
            Entry::escape($classname),
            '\\\\Bar\\\\Foo'
        );
    }
}

Function Calls

None

Variables

None

Stats

MD5 f449f6036ed7045e909bf2cb8c5e33dc
Eval Count 0
Decode Time 101 ms