Use PidFile added.
PHP format.

For syntax highlighting on GitHub.
Merge pull request #9 from TheFox/example-fix

Example fix