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
*/
/**
*IO
*/
class swoole_async
{
/**
*
*
* @example
* @param string $filename
* @param callable $callback ($fileName, $content)
* @param int $chunk_size
* @param int $offset
* @return boolean
*/
public static function read(string $filename, Callable $callback, int $chunk_size = 8192, int $offset = 0): boolean
{
}
/**
*
*swoole_async_writefilewriteswoole_async_writeoffset
* @example
* @param string $filename
* @param string $content
* @param int $offset
* @param callable $callback
* @return
*/
public static function write(string $filename, string $content, int $offset, Callable $callback)
{
}
/**
*
*
* @example
* @param string $filename
* @param callable $callback
* @return
*/
public static function readFile(string $filename, Callable $callback)
{
}
/**
*
*
* @example
* @param string $filename
* @param string $content
* @param callable $callback
* @param int $flags 4FILE_APPEND
* @return
*/
public static function writeFile(string $filename, string $content, Callable $callback, int $flags)
{
}
/**
*
*IP(DNScallback)
* @example
* @param string $hostname
* @param callable $callback
* @return
*/
public static function dnsLookup(string $hostname, Callable $callback)
{
}
/**
*
*DNS
* @example
* @param string $domain_name
* @return
*/
public static function dnsLookupCoro(string $domain_name)
{
}
/**
*
*IO
*:
* thread_num : IO
* aio_mode : IOSWOOLE_AIO_BASENode.jsSWOOLE_AIO_LINUXLinux Native AIO 2
* enable_signalfd : signalfd
* socket_buffer_size : SOCKET
* socket_dontwait :
* log_file :
* log_level :
* @example
* @param array $settings
* @return
*/
public static function set(Array $settings)
{
}
/**
*
*Shellshell_execforkcommand
* @example
* @param string $command ls
* @param callable $callback $callback2$result$status
* @return
*/
public static function exec(string $command, Callable $callback)
{
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Swoole(4.2.9)
* @author shixinke(http://www.shixinke.com)
* @modified 2018/11/28
*/
/**
*IO
*/
class swoole_async
{
/**
*
*
* @example
* @param string $filename
* @param callable $callback ($fileName, $content)
* @param int $chunk_size
* @param int $offset
* @return boolean
*/
public static function read(string $filename, Callable $callback, int $chunk_size = 8192, int $offset = 0): boolean
{
}
/**
*
*swoole_async_writefilewriteswoole_async_writeoffset
* @example
* @param string $filename
* @param string $content
* @param int $offset
* @param callable $callback
* @return
*/
public static function write(string $filename, string $content, int $offset, Callable $callback)
{
}
/**
*
*
* @example
* @param string $filename
* @param callable $callback
* @return
*/
public static function readFile(string $filename, Callable $callback)
{
}
/**
*
*
* @example
* @param string $filename
* @param string $content
* @param callable $callback
* @param int $flags 4FILE_APPEND
* @return
*/
public static function writeFile(string $filename, string $content, Callable $callback, int $flags)
{
}
/**
*
*IP(DNScallback)
* @example
* @param string $hostname
* @param callable $callback
* @return
*/
public static function dnsLookup(string $hostname, Callable $callback)
{
}
/**
*
*DNS
* @example
* @param string $domain_name
* @return
*/
public static function dnsLookupCoro(string $domain_name)
{
}
/**
*
*IO
*:
* thread_num : IO
* aio_mode : IOSWOOLE_AIO_BASENode.jsSWOOLE_AIO_LINUXLinux Native AIO 2
* enable_signalfd : signalfd
* socket_buffer_size : SOCKET
* socket_dontwait :
* log_file :
* log_level :
* @example
* @param array $settings
* @return
*/
public static function set(Array $settings)
{
}
/**
*
*Shellshell_execforkcommand
* @example
* @param string $command ls
* @param callable $callback $callback2$result$status
* @return
*/
public static function exec(string $command, Callable $callback)
{
}
}
Function Calls
None |
Stats
MD5 | 93c7b2c6c5d896e57d527e84c88c81eb |
Eval Count | 0 |
Decode Time | 112 ms |