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 /** * Swoole(4.2.9) * @author shixinke(http://www.shixinke.com) * @modified 2018/11/..

Decoded Output download

<?php
/**
* Swoole(4.2.9)
* @author shixinke(http://www.shixinke.com)
* @modified 2018/11/28
*/

/**
*HTTP
*/
class swoole_http_client
{
    /**
     * @var int $type 
     * socket
     * @access public
     */
    public $type    =    0;

    /**
     * @var int $errCode 
     * 
     * @access public
     */
    public $errCode    =    0;

    /**
     * @var int $statusCode 
     * 
     * @access public
     */
    public $statusCode    =    0;

    /**
     * @var string $host 
     * 
     * @access public
     */
    public $host;

    /**
     * @var int $port 
     * 
     * @access public
     */
    public $port    =    0;

    /**
     * @var string $requestMethod 
     * 
     * @access public
     */
    public $requestMethod;

    /**
     * @var array $requestHeaders 
     * 
     * @access public
     */
    public $requestHeaders    =    array();

    /**
     * @var string $requestBody 
     * 
     * @access public
     */
    public $requestBody;

    /**
     * @var array $uploadFiles 
     * 
     * @access public
     */
    public $uploadFiles    =    array();

    /**
     * @var array $set_cookie_headers 
     * cookie
     * @access public
     */
    public $set_cookie_headers    =    array();

    /**
     * @var string $downloadFile 
     * 
     * @access public
     */
    public $downloadFile;

    /**
     * @var array $headers 
     * 
     * @access public
     */
    public $headers    =    array();

    /**
     * @var array $cookies 
     * cookie
     * @access public
     */
    public $cookies    =    array();

    /**
     * @var string $body 
     * 
     * @access public
     */
    public $body;

    /**
     * @var callable $onConnect 
     * 
     * @access public
     */
    public $onConnect;

    /**
     * @var callable $onError 
     * 
     * @access public
     */
    public $onError;

    /**
     * @var callable $onMessage 
     * (websocket)
     * @access public
     */
    public $onMessage;

    /**
     * @var callable $onClose 
     * 
     * @access public
     */
    public $onClose;

    /**
     * 
     *
     * @example 
     * @param string $host IP
     * @param int $port 
     * @param boolean $ssl TLS/SSLhttpstrue
     * @return 
     */
    public function __construct(string $host, int $port, bool $ssl)
    {
    
    }

    /**
     * 
     *
     * @example 
     * @return 
     */
    public function __destruct()
    {
    
    }

    /**
     * 
     *
     * @example 
     * @param array $settings 
     * @return 
     */
    public function set(Array $settings)
    {
    
    }

    /**
     * 
     *
     * @example 
     * @param string $method 
     * @return 
     */
    public function setMethod(string $method)
    {
    
    }

    /**
     * 
     *
     * @example 
     * @param array $headers 
     * @return 
     */
    public function setHeaders(Array $headers)
    {
    
    }

    /**
     * 
     *cookie
     * @example 
     * @param array $cookies cookie
     * @return 
     */
    public function setCookies(Array $cookies)
    {
    
    }

    /**
     * 
     *Http
     * @example 
     * @param string $data 
     * @return 
     */
    public function setData(string $data)
    {
    
    }

    /**
     * 
     *POST
     * @example 
     * @param string $path 
     * @param string $name FILESkey
     * @param string $type MIME
     * @param string $filename 
     * @param int $offset 
     * @param int $length 
     * @return 
     */
    public function addFile(string $path, string $name, string $type, string $filename, int $offset, int $length)
    {
    
    }

    /**
     * 
     *HttpsetMethodsetData
     * @example 
     * @param string $path 
     * @param callable $callback 
     * @return 
     */
    public function execute(string $path, Callable $callback)
    {
    
    }

    /**
     * 
     *WebSocket
     * @example 
     * @param string $data UTF-8WEBSOCKET_OPCODE_BINARY
     * @param int $opcode WEBSOCKET_OPCODE_TEXT_FRAME
     * @param boolean $finish 
     * @return 
     */
    public function push(string $data, int $opcode, bool $finish)
    {
    
    }

    /**
     * 
     *GET
     * @example 
     * @param string $path 
     * @param callable $callback 
     * @return 
     */
    public function get(string $path, Callable $callback)
    {
    
    }

    /**
     * 
     *POST
     * @example 
     * @param string $path 
     * @param mixed $data $datax-www-form-urlencodedPOSTContent-Typeapplication/x-www-form-urlencoded
     * @param callable $callback 
     * @return 
     */
    public function post(string $path, $data, Callable $callback)
    {
    
    }

    /**
     * 
     *WebSocketWebSocket
     * @example 
     * @param string $path 
     * @param callable $callback 
     * @return 
     */
    public function upgrade(string $path, Callable $callback)
    {
    
    }

    /**
     * 
     *Http
     * @example 
     * @param string $path 
     * @param string $file downloadFile
     * @param callable $callback 
     * @param int $offset 0
     * @return 
     */
    public function download(string $path, string $file, Callable $callback, int $offset)
    {
    
    }

    /**
     * 
     *
     * @example 
     * @return boolean
     */
    public function isConnected(): boolean
    {
    
    }

    /**
     * 
     *
     * @example 
     * @return 
     */
    public function close()
    {
    
    }

    /**
     * 
     *
     * @example 
     * @param string $event_name 
     * @param callable $callback 
     * @return 
     */
    public function on(string $event_name, Callable $callback)
    {
    
    }

}

 ?>

Did this file decode correctly?

Original Code

<?php
/**
* Swoole(4.2.9)
* @author shixinke(http://www.shixinke.com)
* @modified 2018/11/28
*/

/**
*HTTP
*/
class swoole_http_client
{
    /**
     * @var int $type 
     * socket
     * @access public
     */
    public $type    =    0;

    /**
     * @var int $errCode 
     * 
     * @access public
     */
    public $errCode    =    0;

    /**
     * @var int $statusCode 
     * 
     * @access public
     */
    public $statusCode    =    0;

    /**
     * @var string $host 
     * 
     * @access public
     */
    public $host;

    /**
     * @var int $port 
     * 
     * @access public
     */
    public $port    =    0;

    /**
     * @var string $requestMethod 
     * 
     * @access public
     */
    public $requestMethod;

    /**
     * @var array $requestHeaders 
     * 
     * @access public
     */
    public $requestHeaders    =    array();

    /**
     * @var string $requestBody 
     * 
     * @access public
     */
    public $requestBody;

    /**
     * @var array $uploadFiles 
     * 
     * @access public
     */
    public $uploadFiles    =    array();

    /**
     * @var array $set_cookie_headers 
     * cookie
     * @access public
     */
    public $set_cookie_headers    =    array();

    /**
     * @var string $downloadFile 
     * 
     * @access public
     */
    public $downloadFile;

    /**
     * @var array $headers 
     * 
     * @access public
     */
    public $headers    =    array();

    /**
     * @var array $cookies 
     * cookie
     * @access public
     */
    public $cookies    =    array();

    /**
     * @var string $body 
     * 
     * @access public
     */
    public $body;

    /**
     * @var callable $onConnect 
     * 
     * @access public
     */
    public $onConnect;

    /**
     * @var callable $onError 
     * 
     * @access public
     */
    public $onError;

    /**
     * @var callable $onMessage 
     * (websocket)
     * @access public
     */
    public $onMessage;

    /**
     * @var callable $onClose 
     * 
     * @access public
     */
    public $onClose;

    /**
     * 
     *
     * @example 
     * @param string $host IP
     * @param int $port 
     * @param boolean $ssl TLS/SSLhttpstrue
     * @return 
     */
    public function __construct(string $host, int $port, bool $ssl)
    {
    
    }

    /**
     * 
     *
     * @example 
     * @return 
     */
    public function __destruct()
    {
    
    }

    /**
     * 
     *
     * @example 
     * @param array $settings 
     * @return 
     */
    public function set(Array $settings)
    {
    
    }

    /**
     * 
     *
     * @example 
     * @param string $method 
     * @return 
     */
    public function setMethod(string $method)
    {
    
    }

    /**
     * 
     *
     * @example 
     * @param array $headers 
     * @return 
     */
    public function setHeaders(Array $headers)
    {
    
    }

    /**
     * 
     *cookie
     * @example 
     * @param array $cookies cookie
     * @return 
     */
    public function setCookies(Array $cookies)
    {
    
    }

    /**
     * 
     *Http
     * @example 
     * @param string $data 
     * @return 
     */
    public function setData(string $data)
    {
    
    }

    /**
     * 
     *POST
     * @example 
     * @param string $path 
     * @param string $name FILESkey
     * @param string $type MIME
     * @param string $filename 
     * @param int $offset 
     * @param int $length 
     * @return 
     */
    public function addFile(string $path, string $name, string $type, string $filename, int $offset, int $length)
    {
    
    }

    /**
     * 
     *HttpsetMethodsetData
     * @example 
     * @param string $path 
     * @param callable $callback 
     * @return 
     */
    public function execute(string $path, Callable $callback)
    {
    
    }

    /**
     * 
     *WebSocket
     * @example 
     * @param string $data UTF-8WEBSOCKET_OPCODE_BINARY
     * @param int $opcode WEBSOCKET_OPCODE_TEXT_FRAME
     * @param boolean $finish 
     * @return 
     */
    public function push(string $data, int $opcode, bool $finish)
    {
    
    }

    /**
     * 
     *GET
     * @example 
     * @param string $path 
     * @param callable $callback 
     * @return 
     */
    public function get(string $path, Callable $callback)
    {
    
    }

    /**
     * 
     *POST
     * @example 
     * @param string $path 
     * @param mixed $data $datax-www-form-urlencodedPOSTContent-Typeapplication/x-www-form-urlencoded
     * @param callable $callback 
     * @return 
     */
    public function post(string $path, $data, Callable $callback)
    {
    
    }

    /**
     * 
     *WebSocketWebSocket
     * @example 
     * @param string $path 
     * @param callable $callback 
     * @return 
     */
    public function upgrade(string $path, Callable $callback)
    {
    
    }

    /**
     * 
     *Http
     * @example 
     * @param string $path 
     * @param string $file downloadFile
     * @param callable $callback 
     * @param int $offset 0
     * @return 
     */
    public function download(string $path, string $file, Callable $callback, int $offset)
    {
    
    }

    /**
     * 
     *
     * @example 
     * @return boolean
     */
    public function isConnected(): boolean
    {
    
    }

    /**
     * 
     *
     * @example 
     * @return 
     */
    public function close()
    {
    
    }

    /**
     * 
     *
     * @example 
     * @param string $event_name 
     * @param callable $callback 
     * @return 
     */
    public function on(string $event_name, Callable $callback)
    {
    
    }

}

Function Calls

None

Variables

None

Stats

MD5 b6a51bc898d9cf97cc2963b2c1af881f
Eval Count 0
Decode Time 110 ms