cli_set_process_title

Sets the process title

Syntax

cli_set_process_title(string $title): bool

Parameters

title

The new title.

Return

Returns true on success or false on failure.

Examples

1

<?

$title = "My Title";

$return = cli_set_process_title($title);

var_export($return);

?>
HomeMenu