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 Extension;

use PHPUnit\Framework\TestCase;
use Stub\Issue887;

/**
 * @issue https://github.com/zephir-lang/zephir/issues/887
 */
final class Issue887Test extends TestCase
{
    public function testPreventPropertyTypeChangeFromPreviousMethodCall(): void
    {
        $class = new Issue887();

        $this->assertIsArray($class->data);
        $this->assertIsArray($class->fetch_array());
        $this->assertIsObject($class->fetch_object());
        $this->assertIsArray($class->fetch_array());
        $this->assertIsArray($class->data);
    }
}
 ?>

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 Extension;

use PHPUnit\Framework\TestCase;
use Stub\Issue887;

/**
 * @issue https://github.com/zephir-lang/zephir/issues/887
 */
final class Issue887Test extends TestCase
{
    public function testPreventPropertyTypeChangeFromPreviousMethodCall(): void
    {
        $class = new Issue887();

        $this->assertIsArray($class->data);
        $this->assertIsArray($class->fetch_array());
        $this->assertIsObject($class->fetch_object());
        $this->assertIsArray($class->fetch_array());
        $this->assertIsArray($class->data);
    }
}

Function Calls

None

Variables

None

Stats

MD5 ace8c7a989ef9c9f74bd09d5ab896d26
Eval Count 0
Decode Time 99 ms