Skip to content

`ucwords` function workaround for facebook HHVM

Latest
Compare
Choose a tag to compare
@coderavine coderavine released this 09 Jul 14:48
· 12 commits to master since this release

The function ucwords isn't defined correctly (missing param) in facebook HHVM. Per PHP doc, function ucwords accepts two params. However, running it under HHVM with 2 parameters in this setup results in a fatal application error.