Update phpbf

- Replaced if-else spaghetti with a switch.
- Replaced doubly-quoted strings by singly-quoted.