missing closing parenthesis on example using sprintf
If you want to use newline literals, you must double-quote the string. Single-quotes don't work for this in PHP.
Merge pull request #254 from martinb3/working

missing closing parenthesis on example using sprintf