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 class Security_Tokens extends \Codeception\TestCase\Test { /** * Tests tok..

Decoded Output download

<?php

class Security_Tokens extends \Codeception\TestCase\Test
{
    /**
     * Tests tokens CRUD
     */
    public function testTokens_CRUD()
    {
//        global $config;
//        global $mysqli;
//        $mysqli = new DBConnection($config);
//        global $tokentype;
//        global $oToken;
//        // grab token types first so we can test them all
//        $token_types = $tokentype->getAll();
//
//        foreach ($token_types as $tt)
//        {
//            // create
//            $create_token = $oToken->createToken($tt['name'], 1);
//            $this->assertStringMatchesFormat('%x', $create_token);
//            $this->assertGreaterThan(16, strlen($create_token));
//        }
    }
} ?>

Did this file decode correctly?

Original Code

<?php

class Security_Tokens extends \Codeception\TestCase\Test
{
    /**
     * Tests tokens CRUD
     */
    public function testTokens_CRUD()
    {
//        global $config;
//        global $mysqli;
//        $mysqli = new DBConnection($config);
//        global $tokentype;
//        global $oToken;
//        // grab token types first so we can test them all
//        $token_types = $tokentype->getAll();
//
//        foreach ($token_types as $tt)
//        {
//            // create
//            $create_token = $oToken->createToken($tt['name'], 1);
//            $this->assertStringMatchesFormat('%x', $create_token);
//            $this->assertGreaterThan(16, strlen($create_token));
//        }
    }
}

Function Calls

None

Variables

None

Stats

MD5 bd581702c404995b1dedb830fdf9dc59
Eval Count 0
Decode Time 101 ms