Functions: Format Strings - HHVM
docs.hhvm.com › hack › functionsDefining Functions with Format Strings. You can define your own functions with format string arguments too. HH\FormatString<PlainSprintf> will check that you've used the right number of arguments. HH\FormatString<Str\SprintfFormat> will also check that arguments match the type in the format string.