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\ArrayObject;
final class ArrayObjectTest extends TestCase
{
public function testSetGet(): void
{
$test = new ArrayObject();
$this->assertInstanceOf('\ArrayObject', $test);
if (version_compare(PHP_VERSION, '8.2.0', '<')) {
$test->test_1 = 1;
$this->assertSame(1, $test->test_1);
}
$test['test_2'] = 1;
$this->assertSame(1, $test['test_2']);
}
}
?>
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\ArrayObject;
final class ArrayObjectTest extends TestCase
{
public function testSetGet(): void
{
$test = new ArrayObject();
$this->assertInstanceOf('\ArrayObject', $test);
if (version_compare(PHP_VERSION, '8.2.0', '<')) {
$test->test_1 = 1;
$this->assertSame(1, $test->test_1);
}
$test['test_2'] = 1;
$this->assertSame(1, $test['test_2']);
}
}
Function Calls
None |
Stats
MD5 | bdd69ca02b5ce6f498358a34a5e4f479 |
Eval Count | 0 |
Decode Time | 85 ms |