WordPress換域名后如何全站快速替換舊域名?
1095
2023-10-21
(PHP 5 >= 5.5.0)
cli_set_process_title — Sets the process title
$title
)
Sets the process title visible in tools such as top and ps. This function is available only in CLI mode.
title
The new title.
成功時返回 TRUE
, 或者在失敗時返回 FALSE
。
An E_WARNING
will be generated if the operating system
is unsupported.
Example #1 cli_set_process_title() example
<?php
$title = "My Amazing PHP Script";
$pid = getmypid(); // you can use this to see your process title in ps
if (!cli_set_process_title($title)) {
echo "Unable to set process title for PID $pid...n";
exit(1);
} else {
echo "The process title '$title' for PID $pid has been set for your process!n";
sleep(5);
}
?>
cli_get_process_title() - Returns the current process title
#免責聲明#
本站[綠夏技術導航]提供的一切軟件、教程和內容信息僅限用于學習和研究目的;不得將上述內容用于商業或者非法用途,否則,一切后果請用戶自負。本站信息來自網絡收集整理,版權爭議與本站無關。您必須在下載后的24個小時之內,從您的電腦或手機中徹底刪除上述內容。如果您喜歡該程序或內容,請支持正版,購買注冊,得到更好的正版服務。我們非常重視版權問題,如有侵權請郵件[admin@lxwl520.com]與我們聯系進行刪除處理。敬請諒解!