传回 PHP 的行程代号。
语法: int getmypid(void);
传回值: 整数
函式种类: PHP 系统功能
本函式传回 PHP 的行程代号值 (PID)。若执行失败则传回 false 值。当 PHP 以 Apache 模组存在时,传回的 PID 值不见得是正确的。
getmyuid() get_current_user() getmyinode() getlastmod()