note 112522 deleted from function.cli-set-process-title by googleguy
| From: | googleguy@php.net | Date: | Wed, 26 Jun 2013 07:16:41 +0000 |
| Subject: | note 112522 deleted from function.cli-set-process-title by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195355@lists.php.net to get a copy of this message | ||
Note Submitter: martin dot keckeis1 at gmail dot com
----
The example taken from the original RFC:
https://wiki.php.net/rfc/cli_process_title#example
<?php
$title = "This is a test title";
if (!cli_set_process_title($title)) {
echo "Unable to set title\n";
exit(1);
}
sleep(15);
echo cli_get_process_title() . "\n";