Menu

Reference / Process

pid()

function
function pid(): int

The id of the current process.

Returns

int — the process id

View source