getmypid

getmypid -- PHP のプロセス ID を取得する

説明

int getmypid(void);

現在の PHP のプロセス ID を返し、エラーの場合は FALSE を返します。

サーバ・モジュールとして動作中は、別個の pid を取得するための スクリプトの分割呼び出し(separate invocations) は保証されません。

getmyuid(), get_current_user(), getmyinode(), getlastmod() も参照下さい。