Reference / Process
function pid(): int
The id of the current process.
int — the process id
View source