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 Symfony package. * * (c) Fabien Potencier <fabien@..

Decoded Output download

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\VarDumper\Tests\Caster;

use PHPUnit\Framework\TestCase;
use Symfony\Component\VarDumper\Test\VarDumperTestTrait;

/**
 * @requires extension mysqli
 *
 * @group integration
 */
class MysqliCasterTest extends TestCase
{
    use VarDumperTestTrait;

    public function testNotConnected()
    {
        $driver = new \mysqli_driver();
        $driver->report_mode = 3;

        $xCast = <<<EODUMP
mysqli_driver {%A
  +report_mode: 3
}
EODUMP;

        $this->assertDumpMatchesFormat($xCast, $driver);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\VarDumper\Tests\Caster;

use PHPUnit\Framework\TestCase;
use Symfony\Component\VarDumper\Test\VarDumperTestTrait;

/**
 * @requires extension mysqli
 *
 * @group integration
 */
class MysqliCasterTest extends TestCase
{
    use VarDumperTestTrait;

    public function testNotConnected()
    {
        $driver = new \mysqli_driver();
        $driver->report_mode = 3;

        $xCast = <<<EODUMP
mysqli_driver {%A
  +report_mode: 3
}
EODUMP;

        $this->assertDumpMatchesFormat($xCast, $driver);
    }
}

Function Calls

None

Variables

None

Stats

MD5 e3324f18e66186c11b42dab3e68cdd99
Eval Count 0
Decode Time 104 ms