PHP - setthreadtitle() 函式



setthreadtitle() 函式可以設定執行緒標題。

語法

bool setthreadtitle( string $title )

setthreadtitle() 函式在成功時返回 true,失敗時返回 false。

示例

<?php
   setthreadtitle("myscript");
?>
php_function_reference.htm
廣告