(PHP 4, PHP 5, PHP 7)
posix_getpid — Return the current process identifier
Return the process identifier of the current process.
Returns the identifier, as an integer.
Exemplo #1 Example use of posix_getpid()
<?php
echo posix_getpid(); //8805
?>