September 2001
Intermediate to advanced
768 pages
32h 45m
English
int getmypid(void)
Displays the process ID of the current script.
Returns:
Process ID of the executed script; FALSE on error
Description:
This function returns the process ID (PID) of the executed PHP script. This and other related functions may not work correctly in the Win32 version of PHP.
Example:
// this does not work in Windows $pid = getmypid(); echo $pid; |
Read now
Unlock full access