posix_getpid
brefphp/bref
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return the current process identifier
posix_getpid
():
int
if (
$pid
===
posix_getpid
()) {
unlink
(
self
::
SOCKET
);
unlink
(
self
::
PID_FILE
);
return;
src/Event/Http/FpmHandler.php