| Methods |
public
static
|
setcookie(
string $name,
string $value,
$lifetime = 0,
$path = '',
$domain = '',
$secure = false,
$html_only = false,
$same_site = 'Strict',
): boolean
|
#
|
public
static
|
header(string $header): void
|
#
|
public
static
|
cease(string $msg = ''): null
|
#
|
public
static
|
session_destroy(): boolean
|
#
|
public
static
|
session_start(): boolean
|
#
|
public
static
|
error_log($str): boolean
|
#
|
public
static
|
c_setopt(resource|false $handle, integer $name, $value)
|
#
|
public
static
|
c_init(): resource|false
|
#
|
public
static
|
c_exec(resource $handle)
|
#
|
public
static
|
c_status($ch)
|
#
|
public
static
|
function_exists(string $func)
|
#
|
public
static
|
class_exists(string $class)
|
#
|
public
static
|
random_bytes(integer $size)
|
#
|
public
static
|
memcached(): Memcached
|
#
|
public
static
|
redis(): Redis
|
#
|
public
static
|
filter_input_array(integer $type, array $filters): array
Parameters
| $type |
input type
|
| $filters |
filter list
|
Returns
|
#
|
public
static
|
stream_socket_client(
string $server,
integer $port,
integer &$errno,
string &$errstr,
$timeout,
integer $mode,
resource $ctx,
)
Parameters
| $server |
host to connect to
|
| $port |
port to connect to
|
| $errno |
error number
|
| $errstr |
error string
|
| $mode |
connection mode
|
| $ctx |
context
|
|
#
|
public
static
|
stream_ended(resource $resource): boolean
Parameters
| $resource |
socket connection
|
|
#
|
public
static
|
stream_socket_enable_crypto(resource $socket, $type): boolean
Parameters
| $socket |
socket connection to flip to TLS
|
|
#
|