PHP.nl

cli_get_process_title

cli_get_process_title

Returns the current process title

 **cli_get_process_title**

Returns the current process title, as set by . Note that this may not exactly match what is shown in or , depending on your operating system. cli_set_process_title

This function is available only in mode. CLI

Return a string with the current process title or null on error.

An will be generated if the operating system is unsupported. E_WARNING

Voorbeeld: example

<?php
echo "Process title: " . cli_get_process_title() . "\n";
?>

cli_set_process_title