int getmypid
現在の PHP のプロセス ID を返し、エラーの場合は FALSE を返します。
サーバ・モジュールとして動作中は、別個の pid を取得するための スクリプトの分割呼び出し(separate invocations) は保証されません。
getmyuid, get_current_user, getmyinode, getlastmod も参照下さい。