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 /** @phpstub */ class SessionHandler implements \SessionHandlerInterface { /** ..

Decoded Output download

<?php

/** @phpstub */
class SessionHandler implements \SessionHandlerInterface
{
    /**
     * Close the session
     *
     * @return bool 
     */
    public function close()
    {
    }

    /**
     * Destroy a session
     *
     * @param string $session_id
     *
     * @return bool 
     */
    public function destroy($session_id)
    {
    }

    /**
     * Cleanup old sessions
     *
     * @param int $maxlifetime
     *
     * @return bool 
     */
    public function gc($maxlifetime)
    {
    }

    /**
     * Initialize session
     *
     * @param string $save_path
     * @param string $session_id
     *
     * @return bool 
     */
    public function open($save_path, $session_id)
    {
    }

    /**
     * Read session data
     *
     * @param string $session_id
     *
     * @return string Returns an encoded string of the read data. If nothing was read, it must return an empty string. Note this value is returned internally to PHP for processing.
     */
    public function read($session_id)
    {
    }

    /**
     * Write session data
     *
     * @param string $session_id
     * @param string $session_data
     *
     * @return bool 
     */
    public function write($session_id, $session_data)
    {
    }
} ?>

Did this file decode correctly?

Original Code

<?php

/** @phpstub */
class SessionHandler implements \SessionHandlerInterface
{
    /**
     * Close the session
     *
     * @return bool 
     */
    public function close()
    {
    }

    /**
     * Destroy a session
     *
     * @param string $session_id
     *
     * @return bool 
     */
    public function destroy($session_id)
    {
    }

    /**
     * Cleanup old sessions
     *
     * @param int $maxlifetime
     *
     * @return bool 
     */
    public function gc($maxlifetime)
    {
    }

    /**
     * Initialize session
     *
     * @param string $save_path
     * @param string $session_id
     *
     * @return bool 
     */
    public function open($save_path, $session_id)
    {
    }

    /**
     * Read session data
     *
     * @param string $session_id
     *
     * @return string Returns an encoded string of the read data. If nothing was read, it must return an empty string. Note this value is returned internally to PHP for processing.
     */
    public function read($session_id)
    {
    }

    /**
     * Write session data
     *
     * @param string $session_id
     * @param string $session_data
     *
     * @return bool 
     */
    public function write($session_id, $session_data)
    {
    }
}

Function Calls

None

Variables

None

Stats

MD5 fab12b2eb3af63d0da5b38f898688759
Eval Count 0
Decode Time 97 ms