Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

posix_sysconf

Description

The posix_sysconf of POSIX for PHP returns system runtime information.

Syntax

posix_sysconf(
    int $conf_id
): int

Parameters

conf_id

Identifier of the variable with the following constants POSIX_SC_ARG_MAX, POSIX_SC_PAGESIZE POSIX_SC_NPROCESSORS_CONF, POSIX_SC_NPROCESSORS_ONLN

Return

Returns the numeric value related to conf_id

Examples

1 · conf_id

<?

$conf_id = POSIX_SC_NPROCESSORS_ONLN;

$return = posix_sysconf($conf_id);

echo $return;

?>
2
HomeMenu