(PHP 4, PHP 5, PHP 7, PHP 8)
posix_getpid — 返回當前進(jìn)程 id
Return the process identifier of the current process. 返回當前進(jìn)程的 id
此函數沒(méi)有參數。
返回進(jìn)程 id 號,是整型(int)。
示例 #1 posix_getpid() 的使用例子
<?phpecho posix_getpid(); //8805?>