getmypid
echo 'Current process ID:' . getmypid();
Current process ID:4868
Pro tip: use ```triple backticks around text``` to write in code fences