Last active
September 13, 2018 10:10
-
-
Save cosmos-sajal/1ebd2062e9ccf8be6f74ee56de48bb7f to your computer and use it in GitHub Desktop.
getting PID in PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @return Integer | |
*/ | |
public function getProcessId() | |
{ | |
return getmypid(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment