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
domdocument.savehtmlfile(3) - php
simplexml_load_string(3) - php
constant(3) - php
tidy.repairstring(3) - php
domdocument.savexml(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!