cli_get_process_title(3) php man page | unix.com

Man Page: cli_get_process_title

Operating Environment: php

Section: 3

CLI_GET_PROCESS_TITLE(3)						 1						  CLI_GET_PROCESS_TITLE(3)

cli_get_process_title - Returns the current process title

SYNOPSIS
string cli_get_process_title (void )
DESCRIPTION
Returns the current process title, as set by cli_set_process_title(3). Note that this may not exactly match what is shown in ps or top, depending on your operating system. This function is available only in CLI mode.
PARAMETERS
This function has no parameters.
RETURN VALUES
Return a string with the current process title or NULL on error.
ERRORS
/EXCEPTIONS An E_WARNING will be generated if the operating system is unsupported.
EXAMPLES
Example #1 cli_get_process_title(3) example <?php echo "Process title: " . cli_get_process_title() . " "; ?>
SEE ALSO
cli_set_process_title(3). PHP Documentation Group CLI_GET_PROCESS_TITLE(3)
Related Man Pages
simplexml_load_file(3) - php
pg_field_num(3) - php
tidy_get_head(3) - php
tidy_get_html(3) - php
domdocument.savexml(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update