Changes following review by @stof:
- replace constant with literal
- move private methods after public ones
- null assignment is already what PHP does
- pragmas should be an empty array
- use camelCased names
- remove useless comment in test