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
*/
/**
*PHPpcntl
*/
class swoole_process
{
/**
*
*/
const IPC_NOWAIT = 256;
/**
*master
*/
const PIPE_MASTER = 1;
/**
*worker
*/
const PIPE_WORKER = 2;
/**
*
*/
const PIPE_READ = 3;
/**
*
*/
const PIPE_WRITE = 4;
/**
* @var int $pipe
*
* @access public
*/
public $pipe;
/**
* @var callable $callback
*
* @access public
*/
public $callback;
/**
* @var int $msgQueueId
* ID
* @access public
*/
public $msgQueueId;
/**
* @var string $msgQueueKey
*
* @access public
*/
public $msgQueueKey;
/**
* @var int $pid
* ID
* @access public
*/
public $pid;
/**
* @var int $id
* ID
* @access public
*/
public $id;
/**
*
*
* @example
* @param callable $callback
* @param boolean $redirect_stdin_and_stdout
* @param boolean $pipe_type $redirect_stdin_stdouttrue false
* @return
*/
public function __construct(Callable $callback, bool $redirect_stdin_and_stdout, bool $pipe_type)
{
}
/**
*
*
* @example
* @return
*/
public function __destruct()
{
}
/**
*
*
* @example
* @param boolean $blocking
* @return
*/
public static function wait(bool $blocking)
{
}
/**
*
*
* @example
* @param int $signal_no
* @param callable $callback
* @return
*/
public static function signal(int $signal_no, Callable $callback)
{
}
/**
*
*setitimer
* @example
* @param int $usec
* @return
*/
public static function alarm(int $usec)
{
}
/**
*
*
* @example
* @param int $pid ID
* @param int $signal_no (SIGTERM)
* @return
*/
public static function kill(int $pid, int $signal_no)
{
}
/**
*
*
* @example
* @param boolean $nochdir true
* @param boolean $noclose true
* @return
*/
public static function daemon(bool $nochdir, bool $noclose)
{
}
/**
*
*CPUCPU
* @example
* @param array $cpu_settings CPUarray(0,2,3)CPU0/CPU2/CPU3
* @return
*/
public static function setaffinity(Array $cpu_settings)
{
}
/**
*
*
* @example
* @param double $seconds 1.51s+500ms
* @return
*/
public function setTimeout(double $seconds)
{
}
/**
*
*
* @example
* @param int $key keyftok(__FILE__, 1)KEY
* @param int $mode 2
* @return boolean
*/
public function useQueue(int $key = 0, int $mode = 2): boolean
{
}
/**
*
*
*
*queue_num ;queue_bytes
* @example
* @return array
*/
public function statQueue(): array
{
}
/**
*
*
* @example
* @return
*/
public function freeQueue()
{
}
/**
*
*fork
* @example
* @return int
*/
public function start(): int
{
}
/**
*
*
* @example
* @param string $data
* @return int
*/
public function write(string $data): int
{
}
/**
*
*
* @example
* @return boolean
*/
public function close(): boolean
{
}
/**
*
*
* @example
* @param int $size 819264K
* @return string | bool
*/
public function read(int $size): ?string
{
}
/**
*
*
* @example
* @param string $data 819265536
* @return boolean
*/
public function push(string $data): boolean
{
}
/**
*
*
* @example
* @param int $size 8192
* @return string
*/
public function pop(int $size): string
{
}
/**
*
*
* @example
* @param int $exit_code 0PHPshutdown_function;$status0PHPshutdown_function
* @return int
*/
public function exit(int $exit_code): int
{
}
/**
*
*exec
* @example
* @param string $exec_file /usr/bin/python
* @param array $args array('test.py', 123)python test.py 123
* @return boolean
*/
public function exec(string $exec_file, Array $args): boolean
{
}
/**
*
*
* @example
* @param string $process_name
* @return boolean
*/
public function name(string $process_name): boolean
{
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Swoole(4.2.9)
* @author shixinke(http://www.shixinke.com)
* @modified 2018/11/28
*/
/**
*PHPpcntl
*/
class swoole_process
{
/**
*
*/
const IPC_NOWAIT = 256;
/**
*master
*/
const PIPE_MASTER = 1;
/**
*worker
*/
const PIPE_WORKER = 2;
/**
*
*/
const PIPE_READ = 3;
/**
*
*/
const PIPE_WRITE = 4;
/**
* @var int $pipe
*
* @access public
*/
public $pipe;
/**
* @var callable $callback
*
* @access public
*/
public $callback;
/**
* @var int $msgQueueId
* ID
* @access public
*/
public $msgQueueId;
/**
* @var string $msgQueueKey
*
* @access public
*/
public $msgQueueKey;
/**
* @var int $pid
* ID
* @access public
*/
public $pid;
/**
* @var int $id
* ID
* @access public
*/
public $id;
/**
*
*
* @example
* @param callable $callback
* @param boolean $redirect_stdin_and_stdout
* @param boolean $pipe_type $redirect_stdin_stdouttrue false
* @return
*/
public function __construct(Callable $callback, bool $redirect_stdin_and_stdout, bool $pipe_type)
{
}
/**
*
*
* @example
* @return
*/
public function __destruct()
{
}
/**
*
*
* @example
* @param boolean $blocking
* @return
*/
public static function wait(bool $blocking)
{
}
/**
*
*
* @example
* @param int $signal_no
* @param callable $callback
* @return
*/
public static function signal(int $signal_no, Callable $callback)
{
}
/**
*
*setitimer
* @example
* @param int $usec
* @return
*/
public static function alarm(int $usec)
{
}
/**
*
*
* @example
* @param int $pid ID
* @param int $signal_no (SIGTERM)
* @return
*/
public static function kill(int $pid, int $signal_no)
{
}
/**
*
*
* @example
* @param boolean $nochdir true
* @param boolean $noclose true
* @return
*/
public static function daemon(bool $nochdir, bool $noclose)
{
}
/**
*
*CPUCPU
* @example
* @param array $cpu_settings CPUarray(0,2,3)CPU0/CPU2/CPU3
* @return
*/
public static function setaffinity(Array $cpu_settings)
{
}
/**
*
*
* @example
* @param double $seconds 1.51s+500ms
* @return
*/
public function setTimeout(double $seconds)
{
}
/**
*
*
* @example
* @param int $key keyftok(__FILE__, 1)KEY
* @param int $mode 2
* @return boolean
*/
public function useQueue(int $key = 0, int $mode = 2): boolean
{
}
/**
*
*
*
*queue_num ;queue_bytes
* @example
* @return array
*/
public function statQueue(): array
{
}
/**
*
*
* @example
* @return
*/
public function freeQueue()
{
}
/**
*
*fork
* @example
* @return int
*/
public function start(): int
{
}
/**
*
*
* @example
* @param string $data
* @return int
*/
public function write(string $data): int
{
}
/**
*
*
* @example
* @return boolean
*/
public function close(): boolean
{
}
/**
*
*
* @example
* @param int $size 819264K
* @return string | bool
*/
public function read(int $size): ?string
{
}
/**
*
*
* @example
* @param string $data 819265536
* @return boolean
*/
public function push(string $data): boolean
{
}
/**
*
*
* @example
* @param int $size 8192
* @return string
*/
public function pop(int $size): string
{
}
/**
*
*
* @example
* @param int $exit_code 0PHPshutdown_function;$status0PHPshutdown_function
* @return int
*/
public function exit(int $exit_code): int
{
}
/**
*
*exec
* @example
* @param string $exec_file /usr/bin/python
* @param array $args array('test.py', 123)python test.py 123
* @return boolean
*/
public function exec(string $exec_file, Array $args): boolean
{
}
/**
*
*
* @example
* @param string $process_name
* @return boolean
*/
public function name(string $process_name): boolean
{
}
}
Function Calls
None |
Stats
MD5 | 3980064b83f4ad4c5beb32ee1a2b1233 |
Eval Count | 0 |
Decode Time | 75 ms |